Exit Course

This question has been asked in previous threads, but I can't recall finding a solution for it. Here's the issue:
I'm using desktop L21.3 and added an exit button to close the course when done. I tested the button in Edge and Chrome and in the LMS, but it still doesn't close the training. Is there a workaround to get the course closed with the Exit button? It is a requirement in my workplace to add an Exit button to the training and it should be functional.
Thank you!
Comments
-
-
CarlJFink Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 139 ♦ Idol ♦
-
-
CarlJFink Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 139 ♦ Idol ♦
Lectora buttons run JavaScript under the hood. No JS can close a window unless it was opened by JS, as I understand it. You can't "exit" from an LMS-bound course that doesn't open a new window. For OnBoard, I was playing with a button that executed a "Back" action, but your needs might vary. There might also be an API offered by your LMS to end an elearning course--consult the vendor.
-
@CarlJFink Thanks a lot for the advice, I'll discuss it with our LMS admin. What about exiting the training if it is posted on our website? Will it be possible to close it using my "Exit" button?
Many thanks again!
-
CarlJFink Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 139 ♦ Idol ♦
-
@CarlJFink Thanks a lot Carl. Do you know how to write a JS to open the course in a new window? I'm not a JS person and I don't know how to create one.
-
@tmichael9734 Opening the course in its own window is a feature of the LMS. The LMS needs to know where the course is running to properly handle the communication between the course and the LMS.
With an LMS that opens the course on the same page, the Exit button may not work. Course designers with these types of LMS are downplaying the Exit button and adding verbiage to the last page to tell the user what to do next. Usually, it's to direct the user to part or parts of the LMS UI. "Click on the hamburger menu in the upper right", or something like "Choose the next module in the menu below this window."
-
@jholland Thanks a lot John, I'll definitely do so. Because we post our trainings on both LMS and Internet, I need to know how to exit the course if the user accesses it on the Internet. Thanks for the above advice from you and Carl, I think I'm good with LMS.
My last question is how to exit the course if the user accesses it on the Internet? Do I need a Java Script? If so, can you send it to me?
Thanks a lot!
-
As @CarlJFink explained and as it behaves on an LMS, the Exit button can't close the same window. However, it can close the course if the course is launched in a separate window. So, the answer is, it depends on how you have the user launch the HTML course.
If you have an HTML page that the user goes to and launches the course, you could add one of the anchor tags below. This simple example assumes you've placed the course in the folder "course" which is the same folder as this HTML page.
The first line below would launch the course in the same window and the exit button WILL NOT work.
<a href="course/index.html">Launch in this window</a>
<a href="course/index.html" target="_blank">Launch in NEW window</a>
The second line will launch the course in a new window (or tab based on the user's browser settings). In this case, the EXIT button WILL close that window and the user should go back to the original page from where they launched the course.
Another method is to hard code the EXIT button action in Lectora to take the user to the URL of the launch page, which I think is what @CarlJFink was hinting at when he mentioned making the EXIT button a "Back" button.
I hope this is clear.
-
Categories
- 35.9K All Categories
- 109 ✫ Announcements
- 33.1K Lectora®
- 31.1K Lectora Discussions
- 29K Lectora Desktop
- 2K Lectora Online
- 2K Lectora Feature Requests
- 71 Lectora User Groups
- 36 Lectora Accessibility User Group (LAUG)
- 25 ELB Learning Content
- 25 ELB Learning Content Discussions
- 329 CenarioVR®
- 196 CenarioVR Discussions
- 133 CenarioVR Feature Requests
- 42 Rockstar Learning Platform®
- 39 Rockstar Learning Platform Discussions
- 108 CourseMill®
- 108 CourseMill Discussions
- 47 ReviewLink®
- 47 ReviewLink Discussions
- 7 The Training Arcade®
- 7 The Training Arcade Discussions
- 936 All Things eLearning
- 37 eLearning Development
- 546 Learning Management System (LMS) Integration
- 333 Web Accessibility
- 1.2K ♪ The Green Room
- 9 Additional Learning Products