Me Guilty !
Imagine layer A and layer B inside A. You move your mouse inside A. A receives
mouseover. You
continue moving inside A an enter B. Well, you didn't leave A at all but IE and DOM
browsers
will send a mouseout event to A. But you didn't leave A.
What this code does (IE) is seeing if onmouseout the layer where we are going is a
child of
the one we are leaving, and if so cancelling the event because we don't want that
event to
proceed any further.
This is what it does. Now we can discuss if it should do it or not.
Cya
Eytan Heidingsfeld wrote:
> The following lines apear in dynlayer.js. What do we need to find the
> equlivent of the event types are right (I checked it out)?
>
> // Need to find this IEs equivalent for NS6
> //if (e.type=="mouseout" && this.contains(e.toElement)) { return true };
> //if (e.type=="mouseover" && this.contains(e.fromElement) { return
>true };
>
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-dev
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev