Looping an animation made with script.aculo.us
Posted
by Dan T
on Stack Overflow
See other posts from Stack Overflow
or by Dan T
Published on 2010-05-26T21:13:06Z
Indexed on
2010/05/26
21:31 UTC
Read the original article
Hit count: 257
I've created an animation using script.aculo.us. However, when the animation is finished, I want to have it reset all the objects and perform the animation again. I plan to just reset the positions of the objects manually, but how can I make the animations loop? If I put the effect declarations inside a for or while loop, it just crashes the browser.
Any ideas?
© Stack Overflow or respective owner