V
VK
Hi, I'm playing around with tables (TOM vs. DOM etc.)
I cannot figure out an effective highlight mechanics for the cells:
1) No problems with:
<td ...onMouseOver/Out background change>
some text inside
</td>
2)
<td ...onMouseOver/Out background change>
<input type="checkbox" name="cb022" value="cbv022">
some text inside
<some href inside>
</td>
In the second case (as expected) we are getting a bubbly fountain of
mouseover/mouseout events while moving over the cell: from the cell itself
and from the content elements. So the cell blinks, or the link is not
painted but not the cell, or the link is painted, but the cell is not, and
so on.
What would be any more or less simple way to:
onmouseover paint the cell and all its content
keep it all painted until you leave the cell
?
I cannot figure out an effective highlight mechanics for the cells:
1) No problems with:
<td ...onMouseOver/Out background change>
some text inside
</td>
2)
<td ...onMouseOver/Out background change>
<input type="checkbox" name="cb022" value="cbv022">
some text inside
<some href inside>
</td>
In the second case (as expected) we are getting a bubbly fountain of
mouseover/mouseout events while moving over the cell: from the cell itself
and from the content elements. So the cell blinks, or the link is not
painted but not the cell, or the link is painted, but the cell is not, and
so on.
What would be any more or less simple way to:
onmouseover paint the cell and all its content
keep it all painted until you leave the cell
?