PDA

View Full Version : Highlighted table row on mouse over


ooiooipig
04-17-2003, 02:14 AM
Hi Everyone!!

Can anybody help me with my problem?? I need to do a script whereby the user mouse over the row in a table, the entire row is being highlighted.

Please advise!!
thanks...

HairyTeeth
04-17-2003, 03:35 AM
this won't work for Nav4 though:


<table summary="">
<tr style="background-color:#EEEEEE;"
onmouseover="this.style.backgroundColor='black';this.style.color='white'"
onmouseout="this.style.backgroundColor='#EEEEEE';this.style.color='black'">
<td>foo bar</td>
</tr>
</table>

For Nav 4, you have to use layer-background-color (but i forget how).

ooiooipig
04-24-2003, 10:19 AM
ok thanks!! i've got it!! :thumbsup: