Skip to main content
Known Participant
April 17, 2007
Question

Javascript to open a new html page without the various tools bar

  • April 17, 2007
  • 1 reply
  • 300 views
Where can I find a javascript that I could that would to the following.

I will put a button (text button) "QUIT".

I want to see a dialog box asking the following.

Are you sure you want to quit this training module? You can restart the module at anytime by clicking on the restart button.

Yes (I go to the URL of the web page hosting the captivate)
or No (button) I go back to the beginning of the captivate file (Slide 1).

Can we also have a javascript in one captivate file

for example main.swf (who has 10 slide) and have a button that open another captivate swf (5 slides) and have it go to a specific slide (for xample the slide 3).

i know that with Flash it is possible when you load an external file. But with Captivate I am a little bit confused on how to achieve the same results with Javascript.

The only javascript that I know of is
javascript:window.close().

    This topic has been closed for replies.

    1 reply

    April 18, 2007
    Here is some documentation on the "window.open()" method:
    http://www.javascript-coder.com/window-popup/javascript-window-open.phtml

    You'll find options for removing toolbars and setting size/position.