Forum Discussion
Exiting a course while opening a hyperlink
I tried rearranging the order of the triggers and that did not solve the problem. Any suggestions are greatly appreciated.
- JoseTansengco2 years agoStaff
Hello Melissa,
Thanks for reaching out!
The behavior you're experiencing is normal since both 'Exiting' a course and 'opening a link' involve an action that changes the active window on the screen from your Storyline 360 course to something else. For triggers to work, the active window and the focus of the learner should still be on your Storyline 360 course. Unfortunately, there's no way to get triggers to execute when the active window has shifted to a different browser tab or window.
There might be a way to accomplish this task using Javascript, but I'll leave this to members of the community to share how they accomplished this design requirement.
- MelissaLodhi-ac2 years agoCommunity Member
Thanks for that clarification.
- KarenByrnes2 years agoCommunity Member
Hi there, just wondering if there was a response to this query ... like Melissa, I'm building a course with a link to an external site so it would be great if there was a way that the course would close/mark as complete once the link was accessed.
Thanks
- MelissaLodhi-ac2 years agoCommunity Member
I wanted to do basically the same thing as you. I was not able to get this to work because when you open a new tab the current tab loses focus so it wouldn’t mark complete. I had to direct the learners to return to the module tab and click exit to complete. I did not try opening a window instead of a tab. Let me know if you find a workaround. Perhaps the response from Nedim will work.