This is actually a continue from my previous question, but it was suggest to reopen as a seperate question.
I have a sprite image with three images init, I would like to change image position every second while the mouse is hovering the image
What I've tried:
http://jsfiddle.net/377Ja/4/
Error:
Uncaught TypeError: Cannot use 'in' operator to search for 'marginLeft'
in undefined