Hello -

I fixed up the problem with your delay menu, it can be found here:
http://jquery.com/files/demo/delaymenu.html

A couple things: clearInterval() doesn't set navTimer to null, or
false, you have to do that explicitly. Additionally, you should only
slide down the menu if there is no timer currently running.

Hope this helps.

--John

On 10/14/06, code enquest <[EMAIL PROTECTED]> wrote:
> 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

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to