так...
<tr onmouseover="highlight(this, '#FF0000')" onmouseout="highlight(this, '#FFFFFF')">
Код:
<script>
function highlight(theRow, highlightColor)
{
if (typeof(theRow.style) == 'undefined' || typeof(theRow.cells) == 'undefined') {
return false;
}
var row_cells_cnt = theRow.cells.length;
for (var c = 0; c < row_cells_cnt; c++) {
theRow.cells[c].bgColor = highlightColor;
}
return true;
}
</script>
вроде так, опять таки, тестить мне в падлу, ничего не гарантирую