Forum Discussion

KariMueller's avatar
KariMueller
Community Member
2 years ago

Anyone have resources for the Javascript to display the time spent in course (that continues on relaunch)?

There is a lot of discussion on the Javascript timer for total time spent in the course here (https://community.articulate.com/discussions/articulate-storyline/why-does-storyline-not-have-a-built-in-timer-for-courses-in-their-software), but the resources mentioned are no longer available. Anyone have an updated tutorial or information for this? 

Storyline introduced the project elapsed time variable, however it resets when a user quits and relaunches the course. The user needs to spend 1 hour in the course and I'd like to show them timer throughout that continues if they exit and relaunch. 

  • Use a custom variable. Save the values from the built-in variable to the custom variable. When the user resumes, the value in the custom variable should be available... Continue with that..

    • KariMueller's avatar
      KariMueller
      Community Member

      Question - Do you still have to use javascript for this or can you do this simply with triggers?