Skip to main content
Giddy_detail16B6
Known Participant
April 20, 2012
Question

Creating a Quit Button

  • April 20, 2012
  • 3 replies
  • 3948 views

I have been trying to find a way to create an interactive button in Captivate 5.5 that will allow the learner to exit my project. Today I came across the Rapid eLearning / Adobe Captivate Blog titled "Creating Custom Adobe Captivate 5 buttons". This question was asked and the response was that there is a workaround.

  1. Create a blank slide as the last slide and give it a duration of 0.1 sec.
  2. Set the action for the Quit button to Jump to slide and link it to the last slide.
  3. Click Edit > Preferences > Project > Start and End
  4. For the Project End Options, Select close this presentation.

Has anyone done this and been successful? I've tried this and can't seem to make it work. Either nothing happens or for some reason it just advances my presentation to the next slide. I would really love any help I can get to make this work. Thanks.

    This topic has been closed for replies.

    3 replies

    April 27, 2012

    Can you assign JS to the button?

    javascript:top.window.close();

    
    Giddy_detail16B6
    Known Participant
    April 27, 2012

    Can you tell me how to do that and I'll give it a try. I'm using version 5.5

    April 27, 2012

    Here's how I did mine.

    1. On the last screen of my course I inserted a button. The button type is Text Button and the caption I chose was "Close". The caption is just what text you want to display on the button.
    2. Under the action, On Success, I chose Execute Javascript.
    3. Click the script window button.
    4. Copy and paste this code: javascript:top.window.close();

    

    That's it. You can publish and test it locally on your computer.

    Tom_Tantalus
    Inspiring
    April 26, 2012

    How do you publish the project? Would it be an option to publish to PDF?

    RodWard
    Community Expert
    Community Expert
    April 21, 2012

    Can you show us a screenshot of the Properties > Actions accordion of the button?

    Giddy_detail16B6
    Known Participant
    April 21, 2012

    Here are screen shots from the Actions accordion for the page with the button along with the Actions accordian from the last slide and the Properties window.

    Thanks for your help.

    Kim

    RodWard
    Community Expert
    Community Expert
    April 21, 2012

    Does it work if you change your button type to an ordinary text button and make your final slide a little longer duration, say 1 second?