Reply to table cells

Your name:

Reply:


Posted by Andrew on 05/29/06 16:23

Hi,

In the following code, if I move my mouse across the row from left to
right, events are fired in the following order

<table>
<tr onmouseover="alert('TRover');" onmouseout="alert('TRout');">
<td onmouseover="alert('TDover');" onmouseout="alert('TDout');">One</td>
<td onmouseover="alert('TDover');" onmouseout="alert('TDout');">Two</td>
</tr>
</table>


TDOver (one), TROver, TDOut (one), TROut, TDOver (Two), TROver, TDOut
(Two), TROut.


Why is the TROver and TROut even fired when moving the mouse between TDs
in the same row, i havent left the tr tag?

And more importantly, what can I do about it? I want to fire a JS
function on TR over and TR out, but its fired when moving between cells
as well which is a right pain!

Is there any workaround for this?


Thanks

Andrew

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация