Exit Module Trigger Not Working on Website Using i-frame Template

Aug 15, 2023

I created a course where at the end of the module users have the option to restart or exit the module.

When I tested it out by opening the story.html file, it works.

Unfortunately, it is not working on my client's website. My very limited website understanding and guess is that the Exit trigger is not working because they have embedded the files. They use a template that utilizes i-frames.

Am I correct in thinking that this kind of web page setup does not allow the browser to honor the trigger?

Also their required template does not allow the file to open in its own window. 

I am not sure what alternative options I have other than deleting the Exit Module button/trigger. I had suggested at the beginning of the project to talk to the webmaster but here we are.

TIA for any suggestions or ideas you may have.

3 Replies
Taniya Mukherjee

Hi Joanna,

I appreciate your detailed explanation of the issue you're facing with the Exit Module trigger on your client's website. It seems like you've already done some thorough testing and troubleshooting on your end.

Your intuition about the i-frame template potentially causing the problem is valid. i-frames can sometimes introduce complexities when it comes to executing certain scripts or triggers, as they create a sort of sandboxed environment for embedded content. This could indeed be the reason why the Exit trigger is not functioning as expected on your client's website.

Given the restrictions imposed by the template that prevents the file from opening in its own window, it might be challenging to implement a straightforward solution. However, here are a couple of alternative suggestions you might consider:

  1. JavaScript Workaround: If possible, you could explore the option of using JavaScript to handle the exit functionality. JavaScript might offer more flexibility within the constraints of the i-frame. You may need to work with a developer or someone familiar with JavaScript to implement this solution.

  2. Communication with Webmaster: Revisiting your initial suggestion to talk to the webmaster is still a viable option. If the template is a barrier to the desired functionality, the webmaster may be able to provide insights or potentially make adjustments to better accommodate your course's requirements.

  3. Modal or Pop-up Window: Depending on the specifics of your content and design, you might consider presenting the exit options in a modal or pop-up window that overlays the i-frame content. This could potentially circumvent the limitations of the template.

I understand the challenges you're facing, and it's unfortunate that the initial suggestion to involve the webmaster wasn't pursued. Exploring the aforementioned alternatives may help you find a workaround or solution to the Exit Module trigger issue.

Best of luck, and feel free to reach out if you need further assistance or clarification.

Warm regards,

Taniya Mukherjee

https://community.articulate.com/discussions/articulate-storyline/teraboxmod-exit-button-doesn-t-work-in-review-360#reply-866872