Storyline: Exit Course Trigger Doesn't Work
Article Last Updated
This article applies to:
When you use the exit course trigger, you may find that it doesn't work as expected in your published course. Here are some reasons and solutions.
Security restrictions in some modern web browsers prevent windows from closing themselves, so the exit trigger won't always close the browser window. However, it will work if the course is launched in a separate browser tab or window. Configure your Storyline player to launch in a new window. Here's how:
- Go to the Home tab on the ribbon and click Player.
- Click Other on the ribbon.
- Mark the box to Launch player in new window (creates launch page).
- Click OK, then republish your course.
Open Web Links in New Browser Tabs
If you don't use Storyline's "launch player in new window" feature (above), you can still set your web links to open in a new browser tab or window. To do so, add the target attribute to your HTML hyperlinks. Here's an example:
<a href="http://MyServer.com/Course1/story.html" target="_blank">Link</a>
By opening your web links in a new tab or window, you'll avoid browser security restrictions that could prevent the exit trigger from working properly.
Courses Are Stored on Your Local Computer
When publishing for Web or LMS, be sure to upload the published output to a server for proper testing. Viewing courses on your local hard drive can cause some features to fail.
Learning Management Systems
When publishing for LMS, be sure to test your content in your LMS. If you view a course that was published for LMS on your local hard drive, the exit trigger won't work. If it still doesn't work after uploading the course to your LMS, try this:
- Depending on your versions of Storyline and Windows, find the
scormdriver.jsfile in the following directory. Then proceed to the next step.
Note: If you changed the default installation directory, look for
C:\Program Files (x86)\Articulate\360\Storyline\Content\lms
Articulate\360\Storyline\Content\lmsin your custom install folder.
C:\Program Files\Articulate\Storyline 3\Content\lms
C:\Program Files (x86)\Articulate\Storyline 3\Content\lms
- Open the
scormdriver.jsfile in a text editor, such as Notepad.
- Find this line of text:
var EXIT_BEHAVIOR = "SCORM_RECOMMENDED";
- And change it to:
var EXIT_BEHAVIOR = "ALWAYS_CLOSE";
- Republish your course.
If it still doesn't work, try changing the line in step 4 to:
var EXIT_BEHAVIOR = "ALWAYS_CLOSE_TOP";