Forum Discussion
ToniLee-Ostrows
4 years agoCommunity Member
Stop / reset JavaScript in a storyline
Hello, I have a timer that I built from a Storyline provided in another post; it uses a javascript snippet to start the timer and works great however, I am trying to add a feature to stop the timer...
SamG-84fad5d4-b
4 years agoCommunity Member
Hi Math
Sorry to keep asking questions!
Doesnt the JS function just kind of keep on running once started, and then use the latest value of SL global variable when the getplayer function is called in the counter function? So that if pause=true, set on any slide, on its next cycle to add 1 second to the counter time, the js function will use pause=true and thus pause?