I have the following animation:
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 do I stop the animation from queuing up the effect if you mouse off and over a number of times in quick succession.
1 Answer