I use a function that moves a background image and i want to stop this moving after a time.
I tried to use setTimeout() and clearTimeout() methods to start and stop the function, but it doesn't stop the movement.
What is the problem?
some code moving background image
var i = setTimeout("MoveBg()" ,200);