[jQuery] Re: Hover In/Out with quick mouse movements

2008-10-16 Thread tobaco
try the stop()-function http://docs.jquery.com/Effects/stop $('#topbar').hover(function() { $('.prev, .next').fadeIn('slow'); }, function() { $('.prev, .next').stop().fadeOut('slow'); }); On 16 Okt., 11:33, davebowker <[EMAIL PROTECTED]>

[jQuery] Re: Hover In/Out with quick mouse movements

2008-10-16 Thread davebowker
Taking a look now. Cheers for the suggestion. On Oct 15, 5:51 pm, "Martin Möller" <[EMAIL PROTECTED]> wrote: > davebowker  wrote: > > Which when I mouseout delays the fadeout effect by 2 seconds by > > fooling the already faded in element to fade in some more, ie. do > > nothing, before fading ou

[jQuery] Re: Hover In/Out with quick mouse movements

2008-10-15 Thread Martin Möller
davebowker wrote: > Which when I mouseout delays the fadeout effect by 2 seconds by > fooling the already faded in element to fade in some more, ie. do > nothing, before fading out. > > Maybe hoverIntent is what you are looking for: http://plugins.jquery.com/project/hoverIntent Cheers Mate

[jQuery] Re: Hover In/Out with quick mouse movements

2008-10-15 Thread davebowker
Thanks for the reply. Looks a bit like overkill tbh, and I did quickly try it but couldn't make it work. What I have now is -- $(document).ready(function() { $('.ticker-prev, .ticker-next').hide(); $('#topbar').hov

[jQuery] Re: Hover In/Out with quick mouse movements

2008-10-15 Thread Manarius
i usually get around such problems by using a var stopper = false; which is set to true once the mouseover/out is called. you could just do something like: var stopper = false; $('#topbar').hover(function() { if(stopper == false){ stopper = true;