jQuery Stop non-css animation
Posted
by Mark
on Stack Overflow
See other posts from Stack Overflow
or by Mark
Published on 2010-05-01T03:07:09Z
Indexed on
2010/05/01
3:17 UTC
Read the original article
Hit count: 261
jQuery
|jquery-animate
I'm trying to stop a non-css animation:
http://jsbin.com/aqute4/4/edit
Button 1 starts the animation nicely, totally lost on how to stop it though, since .stop() seems to need a DOM element... rather than a random object.
Thanks in advance.
PS: Original code comes from: http://james.padolsey.com/javascript/fun-with-jquerys-animate/
© Stack Overflow or respective owner