logo       

[jQuery] hover function goes bezerk in loop: msg#01226

lang.javascript.jquery

Subject: [jQuery] hover function goes bezerk in loop

Hello,

Consider the following example: http://enquest.eu/test.html ...

I made a example where a submenu slides out when you go over it with the
mouse.
The problem I have with these animations is as follows.

You go over the test menu it opens nicely. Then you go over mouseout the
timeout goes and the menu closes. But if you go then back over the menu
before it ends the animation it goes up down up down in a loop as if it
doesn't know anymore if it opens close or close.

How do I prevent this?

enquest


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise