Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Closing tabs opened by "Open URL or file" affecting Captivate timeline...

Explorer ,
Oct 27, 2022 Oct 27, 2022

Hi.  I'm in search of best practices for Opening a URL, or multiple URLs from different buttons on the same Captivate screen. My problem arises when the user then closes the tab(s) for each of the URLs opened. It seems that closing the tabs advances the Captivate timeline.

 

First, and likely irrelevant, is that the client requirements are that I use an alias to my targeted URL.  If I want the button to load "https://www.mynavyhr.navy.mil/", I have to create a .htm file that looks like this:

<HTML>
<HEAD>
<TITLE></TITLE>
<meta http-equiv="refresh" content="0; URL='https://www.mynavyhr.navy.mil/'" />
</HEAD>
<BODY>
</BODY>
</HTML>

 

This is so they can change a URL by editing the external .htm file with a text editor and as such I cannot hard code the URLs into the course buttons. I have this working fine so it's not part of the issue (I don't think so, anyway). Of course my buttons must target "new" from the URL dropdown menu or the new URL occupies the tab that houses the Captivate course.

 

So, my URL launch buttons have de-selected the "Continue playing the project". I use an on enter script for the screen that plays the necessary audio file so that stopping the timeline doesn't affect my audio - it continues to seamlessly play. I'm using a SmartShape after the audio concludes to stop the timeline. But as stated, closing the tabs in my browser propels my Captivate timeline into the next screen. As of now, I hide the playbar and have a custom button to advance to the next screen once the user views all the URLs.

My question is - Can I take over the control of the timeline with any other methods? I'd rather not write a conditional script that tracks which launch buttons have been clicked and try to solve it that way, as I have a LOT of screens like this. Is there an accepted method? Like, could I launch these URLs into a separate window and NOT a new tab? Is there a way to put a hard stop in my timeline?
Thanks in advance, help is greatly appreciated!

 

136
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 27, 2022 Oct 27, 2022
LATEST

I forgot to mention I am using Cp2017 in Windows 10, using Microsoft Edge.  Thanks!

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources