Timeout when inactive
Jul 02, 2020
Hello,
I want to create a timeout trigger, that when a user is "inactive" (or spend too much time on a slide) it will show a message and then automatically close the module.
I tried with the timing out layer in the master slide, as show here by Graham :
https://community.articulate.com/discussions/articulate-storyline/timing-out-courses
And it works well, but it only works when the course doesn't have any other layers.
Another solution I used is to trigger the message when timeline reach 900 sec. The only problem with this is that there's also a play/pause button in my course. When user click to pause, they can we gone for a week without even triggering the message :(
Do you have any other solution to trigger the timeout message without sacrificing the layers or the play/pause button ?
Thank you.
6 Replies
You can't create a trigger based on the built-in play/pause bar. However, you can create a custom play/pause.
With that you can create a master slide that counts.
Here's a mock up and source file.
https://360.articulate.com/review/content/49a08d42-c2da-4f6e-8d37-d5310c3145ee/review
I was playing around with this and it looks like I don't even need the custom play/pause button.
Now that I played with it more, I'm not sure the layer thing works on the master slide because if the content slide has its own layer it overrides the master layer. I'll noodle on it. :)
Generally, the approach that I outline would work, however, the layers on the content slide do conflict with the timer layer on the master slide. That would have to be moved up to work in the slide's layers and seem like a lot of extra work.
Perhaps there's a JavaScript solution that would work. But I'm not a JS programmer. :(
Is there no other way ? :( Yes I noticed the conflict too, and my course use a lot of layers so it's not viable.
I found a javascript proposed here
https://community.articulate.com/discussions/articulate-storyline/30-minute-timeout-for-sl
But unfortunately it will only pop up a written message when timeout, that doesn't do anything (What we want is for the message to pop up and it will close the course after 30 sec if the user doesn't click on it). And I'm not a JS programmer either so I can't really modify the script :P
Can anyone help ?
So today I finally found a solution for this !
https://community.articulate.com/discussions/articulate-storyline/how-to-display-a-popup-in-case-of-inactivity-of-the-learner-beyond-10-min
Steve Galway's JavaScript is perfect, exactly what I'm looking for :D
This discussion is closed. You can start a new discussion or contact Articulate Support.