jQuerys .stop() to the rescue.
$('#element').stop(true, true).animate({});
If you are doing any kind of animation with jQuery, stop() will end the queue. First parameter indicates whether or not to clear the complete queue, second parameter indicates whether or not to jump to the end of the current running animation.
Another option you got here, is to check if the element is currently animated or not and if so, just skip the new .animate method. Example:
$('#element').hover(function(){
if(!$(this).is(':animated'){ // only go in here if $(this) is NOT animated
// $(this).animate({});
}
}, function(){
});
Ref.: .stop(), :animated