cibgraphics
Privileged
-
Joined
-
Last visited
Solutions
-
cibgraphics's post in Javascript loop going out of sync was marked as the answerSomething like this might do you better than writing your own:
http://jsfiddle.net/jtbowden/UNZR5/1/
plus if you need something more... there are literally thousands upon thousands of plugins for jquery and angular for this