I have created course in lectora 11. Course has an exit button when click on exit button user get pop up with yes or no button (options).
The exit button displays a prompt to close the screen however only in an IE browser does clicking ‘yes’ actually close the browser window.
Clicking yes in Chrome or on an iPad does not close the browser.
Security restrictions in modern browsers like Chrome and Firefox will prevent windows from closing themselves using an Exit or Close button. Your best bet is to test your content from where you plan to host it – either an LMS or a web server – when the course is launched as a new window then the action should work properly. You can also test your functionality using ReviewLink.
In Firefox, there is a global override in the browser for the security restriction. type about.config on the URL to get to the settings. Search for dom.allow_scripts_to_close_windows and set it to true.
All users taking your course would need this setting set to true, so, maybe in a corporation with policies?
Otherwise, Exit button can go to a page to ask the user to close their browser. Or just remove the Exit button from the course.
I agree with @cyberjoep, exit buttons are obsolete. Lectora does a good job of saving results even when you simply close the course window/tab, so why don’t you ask your users to do just that. I’m pretty sure everyone knows how to close a window by now.
It’s new learning for me.
@ Laura Silver exit button working on LMS but it’s not working in HTML publish version if I checked on locally.
But now it’s working if I am add second trigger which is mention above and change Firefox setting.
@ joejubee It’s working for me in chrome if I add trigger which you mention above.
@ Joe Payne it’s working for me in Firefox after change setting in Firefox browser.