Forum Discussion
SamClark
7 years agoCommunity Member
Exit SL via JavaScript
I'd like to write a script that alerts the learner and exits the course after learner acknowledgment.
I could do a window.close() but some LMS encapsulate the course so using the built-in SL EXIT ...
RobTao
5 years agoCommunity Member
Hi Owen or anyone who would like to give me a second eye,
I'm not a programmer and I had help on this. But I'm trying to setup and automatic exit course, after a user doesn't do anything for a time. I've set this to 2 mins just for the test.
The publish course would be in TinCan, but the exit course isn't executing. I'm not sure what might be wrong with the logical order of the execute is.
FYI, the JavaScript is in the master. I thought this would be the most ideal place, instead of placing at the beginning of each page. This is also where I've included the variable as example provided by Owen above.
Any help is greatly appreciated, thank you, Rob.
Related Content
- 5 months ago