04-01-2013, 12:30 PM
Set time limit for a function
I use a js function that moves a background image and i want to stop this moving after a time.
I tried to use setTimeout() and clearTimeout() methods, but it doesn't stop the movement.
What is the...