layer-based mouse events
On IE4+, I've got a problem with the onmouseout event inside a div tag.
Here is the piece of code :
<DIV id=div1 style="RIGHT: 100px; LEFT: 100px; POSITION: absolute;" onmouseout="alert('out')">
this is div1<BR>
<B>this is bold text</B>
So all I want is to track when the mouse comes out of the div tag. But when
the mouse goes over the bold text (which is inside the div), it triggers
the onmouseout event ! And it does the same for any tag inside the div
Anyone knows how to prevent this ?
(in netscape it's alright - surprisingly - except that obviously I can't
use the onmouseout inside the div tag. But by capturing mouse events it works).
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center