close window button

Nov 19, 2012

Does anyone know of a way to add a button in ppt/Articulate to close the browser window? I looked into the Hyperlink and Actions options but cannot add the javascript:


Maybe a Flash button... Is there a quick way to add a close button in ppt?

I did find this thread:

I know I could add a close tab. I am wondering about a web object linking to another web page then inserting the javascript in there to close the window. I was hoping there is a quicker way.

14 Replies
Michel Koster

I'm sorry, but I don't understand how I can implement this.

I'm also looking for a button to close the window and I downloaded the Exit that is mentioned above, but I don't know where to store it and how to get the button/ trigger into my project.

Some additional help or a tutorial would make me happy!

Ashley Terwilliger-Pollard

Hi Michael and welcome to Heroes!

This thread is a bit older, so I'm not sure that any of them are still subscribed. You may want to send them a private message, just in case. Also, I suspect that they may be using the Presenter 09 SDK, and if you're using Presenter 13 there is not an SDK available. There is the ability within Presenter 13 to add an Exit tab which would close the course, and you'll see that described here. 

Jean-Guy  Boulay

Hi Ashley, I have a presenter project where the built in exit tab isn't working throughout the presentation except on the last slide. This occurs on my clients and my development machine in all browsers (except firefox of all things). Is there anything that would be interfering?

I've had success using a hyperlink attached to a shape and calling "javascript:opener.CloseWindow()" but it opens an additional blank window as well as exiting the course.

Note: I'm using the flash widget for now, but I need a solution for tablet as well.

Christie Pollick

Hi, Jean-Guy -- 

Thanks for your question! Can you please confirm that you are testing your published output in the intended environment? Also, as this thread is a bit older, you would be welcome to start a new thread if you wish, and if possible, it would be a great idea if you could share your file so that members of the community can take a closer look and do some testing for you. 

I also wanted to note that we are unable to provide support for JavaScript coding, however, there are lots of members in the community who are JS gurus, so hopefully they will be able to offer some assistance. :)

Jean-Guy  Boulay

So it turns out the exit button was failing because it's directly tied to the setscore in the scorm api. Let me explain (it's alot I know, but bare with me).

The course we have is set to complete when all slides are visited, but we have two quiz questions in the course that we don't want tracked. Unfortunately, the course wasn't setting completion even if all slides were visited. We fixed this by setting the passing score to zero in quizmaker. But we still had an issue with a score of ZERO being reported. I got around that by simply commenting out the setScore api in the lmsapi.js. A drastic measure, but all went well. Then we noticed the exit button wouldn't work until we got to the last slide. It wasn't until today that I decided to retrace my steps to see when the exit button stopped working. I then discovered that when I turned the setscore api back on, the exit button began to work properly again.

So I guess my question now is how can I stop  the quizmaker from reporting any score to the lms and why is the exit button relying on the setscore api function?

This is not an issue in Scorm Cloud, It behaves as it should. But my clients LMS is reporting the score and they are able to produce a report of the api sending the score to their lms. The only time it didn't report a score was when I disabled the api function.

PS. the client doesn't have this issue with storyline courses.

paula palk

Having trouble with a close button in Storyline 2.  It will not close browser window.  But my LMS is reporting that content is complete.  I have tried the following on my PC that I am publishing from:

 64-bit Windows:  C:\Program Files (x86)\Articulate\Articulate Storyline\Content\lms 
Configuration.js I have edited this file like below 

Change this line: var EXIT_BEHAVIOR = "SCORM_RECOMMENDED";


 Not sure why buttons will work sometimes and then not.  I have 8 modules and 3 of the eight modules will not close by clicking the close button.  Same button and trigger???