I have animated footsteps walking across the browser window. I have a function geckoWalk() that calculates the position of the footsteps and queues the animation. I have a l
.stop() and .clearQueue() on the animated elements.
.stop()
.clearQueue()
For example:
$('#geckoprint_r').stop().clearQueue();
See:
http://api.jquery.com/stop/
http://api.jquery.com/clearQueue/