19,495
edits
(oops, this.id is supposed to be within the JS) |
(adding handlers only to hovercells; fun fact, creating this page took our Main Page's page count to 666) |
||
Line 32: | Line 32: | ||
for (var j = 0; j < Cells.length; j++) | for (var j = 0; j < Cells.length; j++) | ||
{ | { | ||
if (hasClass(Cells[j], " | if (hasClass(Cells[j], "hovercell")) | ||
addHandler(Cells[j], "mouseover", new Function("evt", "showDescrip(this.id, true);")); | { | ||
addHandler(Cells[j], "mouseover", new Function("evt", "showDescrip(this.id, true);")); | |||
addHandler(Cells[j], "mouseout", new Function("evt", "showDescrip(this.id, false);")); | |||
} | |||
} | } | ||
} | } |