I have a problem or say a question that often bother me. Say I use a function to animate certain elements with default parameters. At some point I inject some parameter values other than default. Now what happens is that the animations gets added to the one started before on the same elements by previous call. I want to cancel the previous animation so that the DOM has this animation running with present parameters.
You can have a look here http://www.joomlaprodigy.com/test/index.php?option=com_content&task=section&id=1&Itemid=2 If you would click on any navigation number at the bottom, the new animation would superimpose on the previous animation. And ofcourse it just messes up the whole thing. Can someone please tell me how can I cancel the previous animation. Thanks