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

Similar Messages

  • 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.

  • $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

  • 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 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

  • How To Use a Custom Close Button In Window Component

    Hello,
    I have a window component, with the default close button
    turned off, and a new custom close button added to the movie clip
    that is displayed inside the window component. How do I get a click
    on the close button to close the window?
    This is the code I currently have to create the window (and
    the listeners to close the window using the default close button):

    basicalyyou have to use
    myWindow.deletePopUp();
    if my memory serves the content mc is loaded into a mc called
    contentHolder, inside the window component, so
    if you are referencing the window from the scope of your
    loaded mc it will be
    this._parent._parent.deletePopUp();
    or if from the button's scope
    this._parent._parent._parent.deletePopUp();
    try traceing the parantage down til you hit the window.

  • 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.

  • Can custom HTML widgets be copy protected in iBooks Author 2.0?

    Hi to All!
    Never used iBooks Author up to this point, but looking in to it.
    As per the subject heading: If a custom designed HTML widget is used in iBooks Author 2.0 can it easily be copied & pasted by viewers for their own puposes? If this is so can this action be prevented - i.e. can a custom HTML widget be copy protected in some fashion?
    Thank You.

    See this previous thread:
    https://discussions.apple.com/thread/4122632?start=0&tstart=0

  • Javascript for custom Exit button on Saba LMS with SCORM 2004 v3 requirements.

    What should I add to the javascript panel on a custom exit button in Captivate to properly exit a course uploaded to a Saba LMS with SCORM 2004 requirements?

    I can confirm that the approach recommended by georgeyp worked for me with Captivate 5.5 and Saba. After publishing in Captivate, I opened the SCORM zip package and edited the imsmanifest to remove the masteryscore line. It seems that the LMS has nothing to compare to the 0 score value passed by Captivate and so it does not move the incomplete course to the Transcript and mark it ‘Unsuccessful’.
    I did not have an issue with the course getting stuck on the first screen and just showing the LMS initialization text.
    Note that I also tried the additional code (suggested but not guaranteed by Saba) and it did not solve the problem. I also tried using the 'SendTrackingDataAtEnd' SCORM template available in Captivate under Preferences > Quiz > Reporting. It did not solve the problem either.

  • 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.

  • Custom Exit Button not working

    I am using Captivate 6. I have a 'Save & Exit' button. On success I have javascript being executed and the code being: javascript:window.close()
    When I preview in my web browser (chrome) nothing happens when I select this button. Any help?
    I have attached a screen shot.
    Many Thanks.

    Hi Mike
    Just for testing purpose, create a new slide in your project or you can create a new project and in the new/blank slide insert a button. Apply the javacript window.close(); or window.close()
    Preview the project or web browser or publish and test the same in the web browser and then observe, you are facing the same issue or not. If it works, then change the javacript which I provided to you.
    Thanks
    VJ

  • How do I make an exit button to close my project on a CD?

    I am currently using Captivate 5 and have published my project to a CD to pass around my workplace, however the JavaScript attached to my EXIT button only works when I host my project on my Intranet.  Is there anyway that I can use code to make the exit button close my project regardless where it published?

    Question/Score slides are bit special. Maybe have a look at this blog post: Buttons on Question/Score Slides in Captivate 6? - Captivate blog

  • Why wont the button on my trak pall set to close/exit programs close/exit Firefox 7.0.1?

    I have a Microsoft track ball the 5 customizable buttons.
    The the regular right and left buttons are the default right and left click.
    The outer left button is programed to do the "Enter" function.
    The wheel button is programmed to do the "Back" action.
    The outer right button is programed to "Close/Exit" programs. I have this one set up this was because I do not like tabbed browsing and it makes it easy to close multiple browser windows.
    I just installed 7.0.1, and now the ONLY program that will not close on my system when I press the outer right button is Firefox.
    Can you explain why this is happening?

    Firefox 8 will be released in a few days, that I believe includes fixes for the connections number on Windows, and a problem related to the bookmarks database.
    * meanwhile it may be worth trying the fix from this blog: http://blog.bonardo.net/2011/09/30/is-your-firefor-freezing-at-regular-intervals
    * a more speculative and unofficial suggestion is to adjust the preference ''browser.sessionstore.interval'' as suggested by ''[/questions/767246?page=2#answer-270794 frankal]'' based on http://www.techmynd.com/firefox-freezes-for-a-moment-after-every-10-sec-fix/ <br/>(In my opinion unlikely to do any harm, and easily reversible so worth a try)
    Another suggestion, not as a workaround, but as a means of demonstrating part of the cause is to use the error console to log CC & GC collections. The procedure for changing the preference is as above.
    [http://blog.mozilla.com/nnethercote/2011/10/26/memshrink-progress-week-19/ If you turn on javascript.options.mem.log in about:config you can see when GCs and CCs occur and how long they take, which is helpful for diagnosis.]
    No need to leave that on for long, just look for collections exceeding a second i.e. >1000ms if you see that you have a problem.

  • Dialog parameter without close or exit button

    Hi,
    i'm using CR sp2 for vs 2010.
    When i run a report and i need some parameter CR show the dialog parameter to me but i must execute the report because by default there isn't any close or exit button.
    is there a way to show this button?
    Otherwise Is there a workaround?
    Thanks

    Hi All,
    Same issue has been discussed in below thread, take a look at Ludek's last post.
    [Asp.net CrystalReportViewer No Cancel Button!|Asp.net CrystalReportViewer No Cancel Button!]
    - Bhushan.

  • Custom Exit Button not working..looks for required input field on screen?

    I defined this EXIT button as type E in Menu Painter.
    I am using "MODULE At EXIT-COMMAND" in my PAI.
    SAP message still asks for the required input field when I select the function EXIT button?
    The logic still will not break into the At EXIT-COMMAND of my PAI?
       Thank-You.

    Hi
    Have you assigned variable OK_CODE in the list of screen element?
    IF NOT zin_railid is initial.
        LEAVE TO SCREEN 0100.
    ENDIF.
    Which is the sense to create a button for exit-command and doesn't allow the exit if the input field is empty?
    In SE41 I entered "Back" over the back button, "EXIT" over the exit button, and "CANCEL" over the cancel button.
    I selected each one, and got a popup to enter "E" for each type. As I said they appear, but do nothing?
    Did I need to set a status for these?
    No you don't, it's only important to define a functional having the attribute for EXIT-COMMAND
    Max
    Max
    Edited by: max bianchi on Nov 5, 2010 6:31 PM

Maybe you are looking for

  • Help needed in providing conditional hyperlinks in report

    Hi, I need to apply links to a number column in my report. But depending on another column value, I need to link my number column to page 1 or 2 or 3. How can I achieve this conditional linking in APEX? I cant give links or href tag in my query as th

  • SATA HDD installation on K8N Neo2 Platinum, Non-RAID, Non-Bootable

    Hi- I'm a rank newbie on this forum (first post). I have a K8N Neo2 Platinum Mobo, which I've recently gotten up and running, with Windows XP-Pro SP2 installed on a single IDE drive. I would now like to add 2 SATA drives. I don't need or want the SAT

  • Importing multiple users for linked exchange accounts

    This is for Exchange 2013 SP1 FYI Ok, I am lost on this script... I am trying to do a linked mailbox from a different forest using a CSV file. I can re-export the CSV if I need to gather other information. Can I set all the attributes when I create t

  • Pls help with this precedure

    when I ran this cursor, I get the right results, the idea is that when an email on this table szcasud_email is diffrent than an email on this table GOREMAL. I will deactivate the email on this table UPDATE general.goremal SET goremal_status_ind = 'I'

  • Problem with PSE 7.0 crashing at startup

    Running Windows 7 Pro 64bit and Adobe Photoshop Elelements.  Whenever I try to start up the program...I get the opening screen.. ...but if I click on anything I get the following error screen: I think I had this on my old XP Pro system and then "migr