Possible Duplicate:
How to clearInterval with unknown ID?
I currently start a series of setIntervals(function(), time)
outside of functions in the part of my page header.
I now need the abliity to stop and start these global setIntervals from within a function. There is lots of questions doing this with user input but I need the script to do it automatically. Essentially when the initially setInterval function fires it will disable future firings until the user acknowledges it.
What's the best way to do this.
Jquery is acceptable, or even preffered.