Hi! jQuery question. I have animated .block moving to the right for 5000px.
$(".block").animate({"left": "+=5000px"}, 2000, 'linear');
What I need is to slowly stop this animation after the click:
('#clickme').click(function() {
// ... stop $(".block") animation, not immediately, but with some easing
});
Is this possible with jQuery? Any suggestions will be appreciated.