Tutorial on this

Any good tuts on how to do this? And by this I mean the animation part not the scripting of the js.