Arne-Kolja Bachstein wrote:
Hi there,
well, it’s all in the topic: What is the best (least CPU usage is
important I think) way to create an endless animation? I know how to
generally use effects, but I do not know how to loop an animation. Any
hints are welcome… or maybe even links to tutorials or something like
that, I’m of course willing to learn it from a resource, but simply
didn’t find one yet.
Thanks in advance,
Arne
You can use a recursive function maybe... (untested):
function endless() {
$('#whatever').animate({ /* properties */ }, 200, endless);
}
-- Klaus