Forum Discussion

MelissaLodhi-ac's avatar
MelissaLodhi-ac
Community Member
2 years ago

Exiting a course while opening a hyperlink

I created a course that needs end with opening a website and exiting the course. I set the trigger to exit the course when the user clicks on a picture. I have a separate trigger on the same picture to open a website in a new browser window. When the user clicks, it does open the new window but it does not exit the course. When the user returns to the course window, it is still on the last page and the LMS is not showing the course as complete. Is there a way to do this? The last step for the learner is to go to the external website and complete training and testing which will take about an hour. That will cause the course to time out. I want the course to be marked complete when the user opens the external website. Thanks.

  • I tried rearranging the order of the triggers and that did not solve the problem. Any suggestions are greatly appreciated.

     

    • JoseTansengco's avatar
      JoseTansengco
      Staff

      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.

  • Nedim's avatar
    Nedim
    Community Member

    I'm not sure if I follow. Could be a trick to keep the course window active for a second or two after the learner click on the image to go to an external link. I created some sort of delay before the course window is closed. The tricky part is to have an external link window open in a new window, not a new tab. To do that, I used the custom window size instead of the Storyline default window when a link is open. I attached a little demonstration in the ScormCloud.