I have a html structure that needs to animate on click. I have written the first half to achieve this but am unsure how to reverse these steps when the event handler is clicked again.
Code so far http://jsfiddle.net/aYfUH/
Also, is stacking the animate method like this the best way to achieve steps of an animation?
Well, this is how I solved it in the end…