javascript Programming Glossary: setbgposition
How to stop a setTimeout loop? http://stackoverflow.com/questions/8443151/how-to-stop-a-settimeout-loop a image sprite and i came up with this function function setBgPosition var c 0 var numbers 0 120 240 360 480 600 720 function run Ext.get.. c 'px 0px' if c numbers.length setTimeout run 200 else setBgPosition setTimeout run 200 so the out put is looks like this http jsfiddle.net.. is looks like this http jsfiddle.net TTkre i had to use setBgPosition inside else to keep this running in a loop so now my problem..
|