I have the following animation:
http://jsfiddle.net/jtqcj/2/
jQuery("#fp-small-feature-1").mouseenter(function(){
jQuery(".bar").animate({width: "264px"},500);
});
jQuery("#fp-small-feature-1").mouseleave(function(){
jQuery(".bar").animate({width: "0px"},800);
});
How to stop the animation in the queue if you quickly exit and several times in a row.
source
share