Im trying to highlight rows using onMouseOver event which works with following code except that I cant get onmouseOut to return to the original row color state ...It keeps the new highlighted colour and applies to ALL the rows.....any ideas??? Could someone give an example how to achieve this
Thanks in advance.
the code I'm trying to modify is :-
<tr <?php echo $sItemRowClass; ?> onMouseOver="this.bgColor = '#ABCDEF'" onMouseOut = ????
///<?php echo $sItemRowClass; ?> is formed earlier from
// Set row color
$sItemRowClass = " bgcolor=\"#FFFFFF\"";
// Display alternate color for rows
if ($nRecCount % 2 <> 0) {
$sItemRowClass = " bgcolor=\"#F5F5F5\"";
}