|
So, you're having the timer run constantly?
A cleaner way is to leave the interval of the element set to 0 at startup, then whatever event you'd normally set that variable to 0, have that set timer1.interval=500, and then at the point you'd reset the variable=-1 set it to 0 instead and after that set timer1.interval=0.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|