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]>
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
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
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
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;
5 matches
Mail list logo