.stop()without parameters, it just stops the animation, leaving it in the queue. In this case, you want to .stop(true)also clear the animation queue.
$(".grids").hover(function() {
$('.gridscontrol').stop(true).fadeTo(200, 1);
}, function() {
$('.gridscontrol').stop(true).fadeTo(200, 0);
});
Also note the use of .fadeTo()as .fadeIn()and .fadeOut()labels have some undesirable behavior here. Here you can see a working example .
source
share