Issue

How do I create a button that will close an Adobe Captivate demonstration, instead of clicking the X button or the exit button on the media playback controls?

Solution

To do this, follow the instructions below:

  1. Open the demonstration in Adobe Captivate.
  2. Select Insert > Button.
  3. In the "On Success" drop-down menu, select "Execute Javascript".
  4. In the "Execute Javascript" field, click the '...' button.
  5. Copy and paste the following Javascript code into the open dialog box:

    javascript:window.close()
  6. Click OK.
  7. Click OK.

Watch the demonstration below for the steps to create a button that will close an Adobe Captivate demonstration.

 

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy