How would I handle this problem if there are more menu's going up and 
down. If I add a few menu's to the example then they interfere with the 
navtime out. It results that soms don't go down others go up and down...
I timeout needs needs to be put in some sort of function but how.

I think if I understand this I will understand much more about javascript!.

Enquest

code enquest schreef:
> John Resig schreef:
>   
>> 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/
>>
>>   
>>     
> Thanxs this really helps
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>   


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

Reply via email to