LMS Window Close (exit button...again)

Yes, I know this is a freq. encountered issue. I thought I had fixed this but apparently that was just wishful thinking.
If I publish my project with the full screen option, the lesson is opened as a child window and the playbar exit button works as advertised; the window closes.
If I enable LMS reporting and perform the same steps, the playbar exit button does not work.
What's up with that? What is it about the published SCORM version that disables the exit button?

Here is what I did to get the exit button in the playback bar to close the content window in our LMS. I did not want to have a seperate button object.
Your mileage may vary. I may be violating some SCORM rules but too bad. The trace shows the terminate is clean, as the code runs upon the unload of the content window. I do not have a quiz in my SCO/SWF.
File locations are as they appear on my laptop. I am using ActionScript 3 in Captivate 5 on Windows XP.
Backup app source files if you are skeered of breaking them.
1. Edit the playback FLA for the skin you are using. Mine is C:\Program Files\Adobe\Adobe Captivate 5\Templates\PlaybackFLA\AS3\SpaceBlue.fla.
Edit the action code for pbcBtnExit. Add two lines in red:
var btnTipsId = 8;
function onClicked()
import flash.external.ExternalInterface;
ExternalInterface.call("closeWindow");
parent.onPBCBtnClick("exit");
2. Save and publish the playback FLA to C:\Program Files\Adobe\Adobe Captivate 5\en_US\Gallery\Playbars\AS3.
3. To include tweaked code every time you publish for SCORM, edit the HTML source code. The folder is C:\Program Files\Adobe\Adobe Captivate 5\Templates\Publish\SCORM\2004, as I choose SCORM 2004 in the Captivate reporting preferences.
The file can be Custom.htm,Default.htm or SendTrackingDataAtEnd.htm, depending on what you select as the Template in the reporting preferences of Captivate.
Add this script in the header:
<SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT">
  function closeWindow (message){
  window.top.close(self);}
</SCRIPT>
You may have to play around with the javascript to find the right opion that works in your situation.
Save.
4. Publish the Captivate project. Exit button now works for me.
There may be an easier way to get the Exit button to do this but I did not see it. I submitted an enhancement request to Adobe suggesting that the Exit button should be programmable to some extent.

Similar Messages

  • Custom close / exit button in HTML widget

    Hi,
    how to set a custom close / exit button in a HTML widget for iBooks Author? I want to replace or hide the standard button in the top left corner.
    I already tried some JavaScript but nothing seems to work so far. Where can this button be modified or disabled and how to create a custom one?
    Best regards

    Hi Ken,
    thanks for your reply.
    It's good to hear that this button can be changed.
    It would be interesting to know how this can be achieved. Any hints?
    Best regards

  • Course will not play in LMS until the Exit button is clicked

    I'm stumped.  I've created a course that plays fine until I enable reporting in our LMS.  This is the first course we've created in Captivate 5, and I'm using the same Quiz Reporting settings that we used in Captivate 4 (that always worked).  If the course is published to the LMS without quiz reporting enabled, the course plays fine.
    However, if the course is published to the LMS with Quiz Reporting enabled, then the course freezes on the first slide, and will not play until the Exit Button in the playback controls is clicked.  All of the other buttons cease to function until the exit button is clicked as well.
    Any ideas on what could be causing this?

    Just a quick update... I was able to resolve our issue.
    (in case anybody else runs into this issue, maybe this will help)
    We were using AICC to report back to our LMS (Saba) and it's always caused various kinds of problems with Captivate v4.  We were using some sort of work around to get the reporting to work properly.  I was trying to use the same work around we used in v4 with v5, which (I'm totally guessing here) was what was causing the problem.
    Instead of using AICC, I uploaded a SCORM package to our LMS, and everythings been working great since.

  • $50 BOUNTY for a working close/exit button in Explorer 8

    I will pay $50 to the first person that shows me a way using Javascript or the like, to make a working close button, that closes the current Captivate window in Explorer 8.
    "Problematic at best" is not a solution.
    I've searched and cannot find a working solution, but one has to exist since Lectora can and does do it in Explorer 8.
    I have code that works in Explorer 6 and 7 but it does not work in 8.
    --      window.opener='X'; window.open('','_parent',''); window.close();
    So, if you have a TRUE working way to make a button in a Captive project, close a Explorer 8 browser window then I have $50 for the person with the first working solution. If they do not object, I will share the solution with the rest of the community.
    Thanks, rt

    Hi there
    I'm quite happy to accept anything you will throw my way, but it's really not necessary. My goal was just to illustrate the issue. But if you insist, I log into PayPal using my email address of rstone75 (at) kc.rr.com. (@ symbol replaced with (at) to obfuscate and avoid SPAM)
    You are more than welcome to share any code. Especially if it will help another developer out.
    The example depicts two methods of operating. One method configures the Captivate project to close as it completes. I've outlined how to accomplish that on many occasions. You essentially click Edit > Preferences > Project > Start and End and configure the Project End Options to Close project. Then if you want a button to close the project, you configure the button to jump to the last slide. You configure the last slide to be super short. Perhaps .1 seconds. Note that I also demonstrated two different ways of opening the window presenting the Captivate movie with the buttons. One way simply opened the Captivate. So if you already had an instance of IE running or if it just opened Captivate in a fresh instance of IE, you were prompted first with a message that the window was about to be closed. The other link opened the Captivate created HTML page allowing you to view the Captivate as a Full Screen presentation. In this case, the HTML page scripted a child window. Because the Captivate presentation was presented within a Child window, it closed without issue and without notification mentioned earlier. And therein is the trick I believe. I believe things like Articulate and whatever else presents Captivate where the window always closes without issue are presenting that Captivate in a child window.
    The JavaScript solution involves configuring the Button as follows:
    You assign the action to be "Execute Javascript". Then you click the Ellipsis button (Captivate 4 and earlier and it looks like ...) or you click the "Script Window" button (Captivate 5) and you insert the following code into the window:
    javascript:window.opener='x';window.close();
    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

  • Disallow browser window close x button when using separateFrame=false

    Hi!
    For problems with mutlicore processors and seperateFrame=true we have to workaround this with change to seperateFrame=false.
    The biggest problem is actual the behaviour when using the close button (x).
    With seperateFrame=true this closed every single form of the call stack, asks you to commit or discard your changes for every single form.
    With seperateFrame=false this closed the whole application without asking, changes are rolled back.
    Are there any possibility to disable the x button or catch the close command from browser to the forms session?
    kind regards
    Torsten

    Hello,
    one more question.
    Is it possible to change the method. so that the fpm opens within the same browser window instead of a new one?
    Maybe is there a solution with the portal?
    This is the Method to create a new Shopping cart. This opens a new browser window.
    method /SAPSRM/IF_CLL_DOM_SCW_FIN~CREATE_NEW_SHOPPING_CART.
    data:
           LV_TASKCONTAINER      TYPE REF TO /sapsrm/if_cll_task_container,
           ls_obn_components     type /sapsrm/s_wd_ui_obn,
           lo_navigation_service TYPE REF TO /SAPSRM/IF_CH_WD_NAVI_SERV.
    try.
      LV_TASKCONTAINER = mo_parent_bo_mapper->get_task_container( ).
      CALL METHOD lv_taskcontainer->GET_NAVIGATION_SERVICE
        RECEIVING
          RO_NAVIGATION_SERVICE = lo_navigation_service.
      ls_obn_components-obn_system = 'SAP_SRM'.
      ls_obn_components-object_type = 'sc'.
      ls_obn_components-operation = 'shop'.
      CALL METHOD LO_NAVIGATION_SERVICE->LAUNCH_TARGET
        EXPORTING
          IV_TARGET_TYPE          = /sapsrm/if_ch_wd_navi_serv_c=>gc_target_type-obn
          IS_OBN_COMPONENTS       = ls_obn_components
          IV_OBN_PARAM_CLASS      = /sapsrm/if_ch_wd_navi_serv_c=>gc_param_class-taskcontainer
          IV_OBN_PARAM_METHOD     = 'GET_OBN_PARAMETERS_RM'
      catch /SAPSRM/CX_PDO_ERROR_GEN.
    endtry.
    endmethod.

  • Disabling the window close(x) button

    Is there any way to ensure that the window does not get unloaded when the close button (x) is clicked or can we simply disable the close button?
    regards
    Puneet
    Message was edited by:
    punsat

    As far as I know there is no way to differentiate between window closing events depending on their source.

  • Windows exit button doesn't work

    Hi,
    Does anybody know why the windows' red exit button doesn't work for my program?
    Thanks

    Hamed_47 wrote:
    The close button is set to be in the menu, so I it's not in tle list of this close control.
    Sorry, I did not understand what you mean.
    The ring control lists all the controls you have on the panel, and usually there is a QUIT ot EXIT button. You may want to select this one.
    What this ring control does is equivalent to setting the ATTR_CLOSE_CTRL programmatically, i.e. you define the ID of the control for which a commit event is generated when you select the Close item in the Windows system menu.

  • Hyperlink in Captivate Course Closes LMS Window

    Has anybody run into this problem before?  I created a short course in Captivate 5.5.  Just a few slides so that users can link to and open a long video we have housed on a hosting service.  When I preview the course in Captivate, the link works fine.  The website opens and I can run the video.  But, when I publish the course to our LMS (HealthStream) and try to link to the video, the LMS window closes immediately without going to the website.  This could very well be an LMS problem, but I am getting desperate and hoping somebody else has run into this problem with HealthStream or another LMS.  Any advise would be greatly appreciated.

    Do you have the link set to open the video link in a new blank browser session or in the same browser?
    One thing to be aware of here is that SCORM courses were not originally designed (according to the SCORM standard) to link outside of the module for other content.  They're supposed to be totally self-contained units of learning.  By linking outside the SCORM module and opening other windows you can run the risk of interrupting the communication with the LMS via the SCORM API.  This might be why your LMS is terminating the session.  It might interpret your link to the video on the hosting service as a sign you've finished viewing the module.
    If the hosted video is FLV or F4V, have you tried streaming it into the Captivate module as Slide Video instead of opening it in another browser session?

  • Exit button doesn't work

    On .swf files, the Exit button in the skin doesn't close the
    file (it works just fine if the file is .exe). All the other
    buttons work fine. Any ideas?

    Hi, I know this issue was a long time ago, but I am experiencing the same problem with a course that has been loaded into the LMS, the exit/close button on the playbar isn't working.  I am using Captivate 5.  I have published using AICC rather than SCORM, as there were some issues with the passing over of scores from the e-learning programme I'd built to the LMS which were resolved by using AICC.  The close/exit button however did work when it was originally published using SCORM!
    I'm considering just removing the exit/close button on the programme and putting a message at the start and at the end to say just close browser window to exit the programme.
    I'd be very grateful if anyone could advise if there is anything else anyone could recommend trying?
    Thank you
    Sarah

  • Exit button - forms 6i to 10g

    hi,
    In my form6i client/server, i do not use exit button, becuase we use the windows default exit button( _ [] X), this will close the form. But in 10g it is not working. Any workaround.
    thank you

    Hi,
    I am using call form in menu.
    call_FORM('B_TER.FMX',no_hide);If you use call_form, what you observe is expected and not an issue. When you use call form, the calling form will be disabled till you close the called form. If you want to do the operation in both the forms, then you need to use open_form.
    -Arun

  • Losing close/exit usability when I publish a project

    I am having an issue when I publish a project.
    The close/exit button on the playback control panel doesn't work when I publish the project. It works fine in all the test modes. All the other buttons I am using Play/pause, CC and Mute all work when I publish.
    Can someone please offer some advice.
    Cheers
    thedarf

    Hi there
    See if the link below explains anything.
    Click here to view
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Exit button that close me the window in personalize

    Hi forum:
       I have one dynpro application in the personalize window of the EP6.40, when i give click in this link an windows is open, So, in my application in to this window i need to put an EXIT BUTTON, that close me the actual window, what can i do to do it?.... The password change application in that windows has it.. and do it..
    please help
    Joshua

    Hi Joshua,
    Are you familiar with close main application window in WD for Java ?
    Best regards, Maksim Rashchynski.

  • Exit button won't close window when course is completed. tried javaScipt

    I tried a short test (without JavaScript) and set the Project End preference to Stop Project. It didn't work when viewing locally but when it was published to our web server the exit button worked.
    Has this issue been resolved?  I find threads from 2011 with many people frustrated over the exit button not working; haven't found the resolution.
    Message was edited by: MN Jean

    Can you close Firefox via Firefox/File > Exit?
    That is usually a better way to close Firefox.

  • Captivate 7 exit button does not work when published to LMS

    I recently published a course using Captivate 7 and uploaded it to our LMS.  During the review of the course it was noticed that the Close or Exit button on the controller did not work in IE.  However, it did work in Chrome.
    I have looked through this forum and found that there were similar issue with older versions of Captivate.  However, we have course published with Captivate 6 on our LMS in which the Close or Exit button does work.
    Does anybody have a solution for this problem?  Do we know if there is an update scheduled to fix this problem?
    Please let me know
    Dawn

    1.  Create a button in Captivate and assign a javascript call to "MyExit()"
    2.  Create a .js file called CourseExit.js.
    3.  Place the following code into that file.
    function MyExit()
      var SD = window.parent;
    if (blnReachedEnd == false && confirm("Would you like to save your progress to resume later?")){
    SCORM2004_CallSetValue("cmi.exit", "suspend");
    SCORM2004_CallSetValue("adl.nav.request", "suspendAll");
      else{
    SCORM2004_CallSetValue("cmi.exit", "");
    SCORM2004_CallSetValue("adl.nav.request", "exitAll");
    Unload(true);
    4.  Place the CourseExit.js into the "assets/js/" in the published folder
    5.  Add "<script language="JavaScript1.2" src="assets/js/CourseExit.js"></script>" to the html file that was output on the publish.
    I was able to set this up on the set up files on the local hard disk but so all I had to do was create a button and add the "MyExit()" code to the button, but when the next update came out it reset the hard disk files.  So, I have just resorted to updating the output file as seen above.
    Hope this helps.
    Garrett

  • New Window of ESS with Exit button

    Hi All,
    For all applications in ESS, I am facing astrange issue. I will explain it taking one scenario. I go to the page where I can change the personal data under service Personal Information. Here there is an 'Exit' button. If i click on that, a new Overview page ESS window opens up instead of exiting. This happens with all the services, bet it Leave Request or any.
    How can this be stopped?

    This is to do with workprotect mode settings.
    Read the note 734861
    3. Click personalize
    4. Click WorkProtect Mode
    5. select option what you want
          Use default portal setting
          Protect unsaved data (open page in new window)    >>>>>
          Discard unsaved data (open page in same window)   >>>>>
          Choose action in popup on unsaved data
    http://help.sap.com/saphelp_nw04/helpdata/en/37/
    50fb5066f9db43b3b5d5fc8de0c051/frameset.htm
    Also note that
    this 'exit' button has been determined not to
    work if the application is running in pop-up window. 'Close' button of
    popped up browser window can be used to close that window.
    This is explained in notes 920003 and 920004.

Maybe you are looking for

  • Closing the cover of my macbook

    Hello, i have pluged in an external display to the macbook (with mini-dvi to dvi adapter). Now i want to close the cover of the macbook, without going into the sleep modus. I want to go on working with the external display. How can i do that? Thanks

  • Lumia 920 Memory Full error message when trying to...

    Anyone come across this issue Thanks Paul O'Davies

  • Forte Third Party Framework

    Can anyone tell me what Forte third party frameworks are available? If you have had experience with any of these frameworks, could you give me your opinion of that product? Was the framework easy to use? Did you save time using that particular framew

  • Web app full screen state

    Hello, when installing a website as "application", some runs in full screen, some doesn't, on what depends this change? Currently, it runs in full screen websites that do not have navigation buttons, meaning no "previous" button from the web browser

  • Forms 4.5 to 10g upgrade project

    Hello All, My client asked me to upgrade its Oracle Forms 4.5 to the latest Oracle Forms 10g. in my 4 years as a Oracle forms developer I never taken any project that will lead to upgrade. I surf the Forms upgrade center but confused about steps to b