No work in Opera. I think if you used .cur files instead of .png it might. I didn't see the problems like djr33 did. Worked fine in FF 1.5 unless I hit start it again without having first stopped it. You need some way to prevent multiple intervals. I'd try clearing at the beginning of the stop and start events (you are clearing timeout after reset but, there is no timeout):
Code:
<input type="button" value="Stop the animation" onclick="clearInterval(c);reset();">
<input type="button" value="Start it again" onclick="clearInterval(c);c = setInterval('changeCur()', 30);">
</body>
</html>
Bookmarks