Hi everyone:
The title pretty much says it all:
How to pause an interval while the tab is in the background, and unpause it once the focus comes back?
1.) notice how the numbers are counting up.
2.) remember the current number and navigate away from the page.
3.) wait 10 sec and return to the page....the numbers keep going up while you'r not on the page.
How can i make it only go up while on the page?
Thanks for any help and tips!