K
kendalk08
This post is for those struggling to figure out why there Drop Down
Menus and other scripts are not working using th DOM.
There are slight DOM problems with ONMOUSEOVER and ONMOUSEOUT events
of parent and child elements. When the child element fires its
ONMOUSEOVER event it also fires the ONMMOUSEOUT event. When this
happens you get a canceling of script (Like using timers for
instance). Because of this you have to check to make sure you are
still in the parent element to keep its ONMOUSEOUT event from firing.
For more information on this topic view: http://www.faqts.com/knowledge_base/view.phtml/aid/1606.
To view a site that is using this script go here:
http://www.nwtechonline.com/~kendalk07a/alvaschools/index2.html.
To view the non-working site with almost the same script go here:
http://www.nwtechonline.com/~kendalk07a/alvaschools/index2.html.
Kendal Knabe
Menus and other scripts are not working using th DOM.
There are slight DOM problems with ONMOUSEOVER and ONMOUSEOUT events
of parent and child elements. When the child element fires its
ONMOUSEOVER event it also fires the ONMMOUSEOUT event. When this
happens you get a canceling of script (Like using timers for
instance). Because of this you have to check to make sure you are
still in the parent element to keep its ONMOUSEOUT event from firing.
For more information on this topic view: http://www.faqts.com/knowledge_base/view.phtml/aid/1606.
To view a site that is using this script go here:
http://www.nwtechonline.com/~kendalk07a/alvaschools/index2.html.
To view the non-working site with almost the same script go here:
http://www.nwtechonline.com/~kendalk07a/alvaschools/index2.html.
Kendal Knabe