VK wrote:
[color=blue]
> Still I think that your problem description is not totally correct:
> <quot>
> This means that the problem is not just about bubbling, because when
> you mouse the mouse over the link, you are not moving out of anything
> contained in the div nor are you moving out of the area contained by
> the div. A mouseout event fires simply because a mouseover event fires
> for another element.
> </quot>[/color]
If you move the mouse over a child element of a container element then
the mouseout of the container element fires.
[color=blue]
> As my preliminary (I'm just 3 days on my vacations :-) experiments have
> shown, the problem is in the "compatibility mode":
> Any event gets cloned, and after that both copies are playing "first
> train is going from point A, second train is going from point C". Other
> words, one copy goes "NN way" top-to-bottom (window -> deepest
> element), other copy goes "IE way" bottom-to-top (deepest element ->
> window). If you are trying to capture events somewhere in the point B:
> A_______________B___________________C
>
> then both trains are passing you in both directions leaving you with
> big eyes on the platform.[/color]
While Netscape 6/7 and Opera 7/8 both implement the W3C DOM Level 2
Events where events do not only bubble up the tree but first move down
the tree any code using HTML event handler attributes e.g.
<element onmouseover="..." onmouseout="..."
is only noticing the bubbling phase.
So the problem you experience has nothing to do with the capturing phase
of the W3C DOM events module, it is simply that mouseout/mouseover
always occur in pairs, if you move the mouse over a child then a
mouseout on the container is first fired, then a mouseover on the child.
--
Martin Honnen
http://JavaScript.FAQTs.com/