Skip to main content
October 6, 2010
Question

Create a Button that Closes the Presentation

  • October 6, 2010
  • 1 reply
  • 461 views

All, I want a button on the last slide of my presentation that, when clicked, will close the browser window in which the presentation is playing. Will this involve Javascript? I tried some, but I probably screwed it up because it won't work. Some step-by-step guidance would be much appreciated, should someone have a few moments to guide me. Trying to make something more obvious than the X button on the playbar. Thanks so much!

This topic has been closed for replies.

1 reply

Captiv8r
Legend
October 6, 2010

Hi there

As explained in the Frequently Encountered Issues topic, closing the window is "iffy" and depends on different factors.

The simplest approach is to avoid JavaScript altogether. Just configure the project to close when it completes. Then if you want a button that closes the project, configure it to jump to the last slide. Time that last slide super short. The net result will be that the user clicks the button, it jumps to the last slide for a split second, then if the project is capable of closing, it closes!

Cheers... Rick

Helpful and Handy Links

Begin learning Captivate 5 moments from now! $29.95

Captivate Wish Form/Bug Reporting Form

Adobe Certified Captivate Training

SorcererStone Blog

Captivate eBooks

October 6, 2010

Rick strikes again!

I think I'll just have to go with "Close project" on the Start and End preferences. It feels a little abrupt to me, but I'm getting a fade-to-white effect I haven't programmed into the presentation. My playbar still shows, but everything above it turns white. Oh well. Your solution makes a lot of sense, Rick. I think I'm going to go that way.