File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes problem with onmouseout in NN7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "problem with onmouseout in NN7" Watch "problem with onmouseout in NN7" New topic

problem with onmouseout in NN7

Garann Means
Ranch Hand

Joined: Jan 28, 2002
Posts: 214
I have a dropdown menu whose subsections change color onmouseover and change back
onmouseout. The problem I'm having is that they only change back sometimes.
Sometimes to get the menu to return to normal I have to mouse over the
subsection again before it performs its onmouseout function.
I put some alerts in my JavaScript, and it looks from that like the
onmouseout function is getting called while the mouse is still very much
over the subsections. (???)
I'm using Netscape 7, and wondering if this is a bug (because it seems too
inconsistent to be a coding error.. but you never know). Has anyone had a
similar problem? If so, how did you work around it?
Code is at bottom, for reference.
Thanks in advance!

[ December 12, 2002: Message edited by: Garann Rose Means ]
I agree. Here's the link:
subject: problem with onmouseout in NN7
jQuery in Action, 3rd edition