Custom JavaScript button close

I have problems with a javascript custom button during export both swf and html 5 with the AICC LMS settings.

When just using html5 out the button works fine, here is the content of the script window:

Window.Open (","_self",");

Window.Close ();

The first line was added because Firefox keeps closing window unless it was opened with the window.open() method.

However, even with the patch, output swf also selected in the publication settings window closes at all.

I was wondering if maybe because the index.html file in the output of the AICC, is choosing the html5 or the swf through the line - newFrame.src = "index_AICC.html"; "" That the fact that it opens in a frame somehow the javascript is not able to close the top of the window? I played with all the settings in Captivate Javascript the extent of change of the target to top window, parent, Gites, etc without success.

Any suggestions on the contribution of a push to close the custom window that works in html5 and flash, while using AICC?

You might be interested in the link below:

Click here to see

See you soon... Rick

Tags: Adobe Captivate

Similar Questions

  • Custom popup button close

    Hello

    I wonder if its possible to reproduce the functionality of the default close button (the X in the right corner) with a custom button popup (like cancel).

    The problem is that I use custom buttons so my popup has a dialog box within which type is NONE. I have my close button which is a command link, but you can see the difference when you press this button and the close (X) button. the last of them is much faster to close.

    11.1.1.6

    Any suggestion?

    I suspect that you notice some delay because the listener of the action of your order link is implemented at the side managed server (for example, a bean method). If the action is a managed bean method (namely, the side Server), then the command binding enforcement generates an HTTP request to the server (in order to run the listener to action at the level of the server) and the context menu will not close until the HTTP response is received and processed by the browser. You can avoid the HTTP round trip by implementing an action listener client instead (e.g. ), where you can close the popup Javascript (using the Javascript API of the ADF). Look at the documentation of the tag in JDeveloper help for a simple example for opening a popup, you can easily modify it to close the popup instead.

    Dimitar

  • How to trigger DA when the user clicks a button close the standard window

    Hello!

    Apex 5.0 & universal theme.

    I want to trigger some DA when the user clicks on the button indicated to my image (button close the standard window). In fact, I would like to pass a value of my hidden form IR back and refresh IR if value = 1 or don't refresh with another value.

    Is this possible?

    Thank you.

    close_form.png

    Hi Yava,

    Seems that you have chosen to add the event handler to the page parent (the one with the IR). I think it's best. This means that the code above does not apply.

    The dialogclose event and all other dialogue jQuery UI events are triggered in the dialog box to create a DA pull on the IR will not work (because the dialog box is outside the IRR while she bubbles it won't go through the SORTING). You must handle the event on the body. This works because the event propagates to the body. Set the Type to choose to be "jQuery Selector". JQuery Selector enter 'body' (without the quotes). The event you want to handle is a custom, event which means that this isn't one of those in the select list. For event, choose "Custom". Then enter Custom Event "dialogclose" (without the quotes). Now you have a DA who fires when * all * dialog closes. You may or may not need to get more selective than that. For action, you can use refresh as you do already.

    Kind regards

    -John

  • Exit JavaScript button does not work


    I use 7 Captivate to create a little tutorial. On the last slide of the tutorial, I and the exit button. For action "on success" for the release, I chose "run JavaScript. In the script window, I entered

    JavaScript:Window.Close()

    When I run the presentation by pressing F12 ' Web browser', the button works fine. (A confirmation dialog box appears asking me if I want to go out.) But when I published and then executes, the button does nothing.

    What I am doing wrong?

    Help, please.

    You test in IE? You might not be a bad thing, but your system will not be running the script working in car. Try to add to the html document and see if that fixes the problem. EMH is a workaround that you can change your registry settings to allow the script to run.

  • extracted - problem button close this window

    I noticed that the extract of "window button" close (on form elements) has redundent javascript that stop working.  #1 extract original doesn't not work.  #2 done.

    #1 < input type = "button" value = "close window" onclick = "javascript:self.close();" onKeyPress = "javascript:self.close();" ">

    #2 < input type = "button" value = "close window" onclick = "javascript:self.close()" / > "

    Anyone else notice this?

    One is designed to allow keyboard users to can click any key when this element is to close the window, rather than forcing the use of a mouse click.

    As you transcribed it here it is indeed wrong.  That's your mistake or how you found it? :

    onclick = "JavaScript:Self.Close();" onKeyPress = "javascript:self.close();" » >

    should be

    onclick = "JavaScript:Self.Close();" "onKeyPress =" javascript:self.close(); " » >

    with this quote in added

    --

     E. Michael Brandt
    
    www.divahtml.comwww.divahtml.com/products/scripts_dreamweaver_extensions.phpStandards-compliant scripts and Dreamweaver Extensions
    
    www.valleywebdesigns.com/vwd_Vdw.aspJustSo PictureWindowJustSo PhotoAlbum, et alia
    
    --
    
  • Position of the button close the tab tab

    Just updated to 17 of Firefox on my Windows 7 PC. The close tab buttons are now on the left side of the tab instead of the right side. How can I move them back on the right side? I can't find other help on this and tried to play with: config userchrome, but nothing is. I can change the color, add a button in the bar, but does not affect the positioning of the buttons close the tab on the tabs themselves.

    Help!

    You have the module / theme / userstyle installed that controls tab behavior? You can resolve this problem by restarting with disabled modules. You can also reset firefox who, most likely, your problem will be solved.

  • There is no button "Close, restore down, minimize" on top of the FF4, my system is win7 how can I do with it

    There is no button "Close, restore down, minimize" on top of the FF4, my system is win7 how can I do with it

    This has happened

    Each time Firefox opened

    == I installed the FF4

    If you have an installed character you can turn it off and go back to the default theme. There is a bug with Firefox 4.0b1 and probably it will be fixed in the next beta. Here are the bugs.

    Bug 574833
    Bug 575406

  • Help with custom radio buttons.

    Before you go all Rube Goldburg thought that I post for a quick reality check.

    Basically, I have a test with several different configurations of coupon and I try to give users an advanced interface to select one they use. Using radio buttons seems the way to go and I inserted my custom images but I have only be able to select by clicking on the buttons. I want the user to be able to click on the image. Unless I'm missing something, I have this feeling that I have to create the four complete custom Boolean buttons with States of 4-6 and then write the code to do that alone is never on at the same time?

    Joint-

    You can change the appearance and the size of the used option button and overlay them on your chart, and then set the transparent parameter. So it looks like they're clicking on custom image but they are clicking on the invisible button on the top of the image.

    But it might be easier to use a ring of photo,

    Photo ring can be changed at runtime to add selections. Where the radio button enum cannot.

  • Custom radio buttons?

    Hi I'm developing, and send to the playbook. I have a few questions, I would love to get all entries from you guys.

    • Basically, I'm trying to sort a list that is fine, but what I want eventually to reach is to classify the sorted list. Something like the image (see embeded / attached). I can implement this as a nested type, but juice I wanted to know if there is another native method to do so.
    • My next question is that I need to create a custom radio button group, where I want my buttons to look like buttons label while a tick mark indicating the checked item. See attachment.

    Any help is appreciated.

    Thanks in advance.

    You can create a converter customized for list items (search the forum for this, many examples), and you can also watch the SectionList control for divisions. Hope that helps.

  • Custom toolbar button active three times

    Hi all

    We are having heart 11.1.1.6.1, as shown in "webcenter_sites_11gr1_bp1_ui_customization.pdf", I've customized the toolbar.

    The question I found the button's onClick event is triggered three times.

    This is exactly the same problem as follows to the question:

    https://community.Oracle.com/thread/2538887

    No idea what will be the resolution?

    In addition, wanted to know, if I want to display the same button in "edit" mode, how can I do that?

    Thanks in advance

    Milind

    Hello

    It is a known issue in version 11g 11.1.1.6.1 and a bug is already triggered: Bug 17355310 : ONCLICK ACTION for A CUSTOM TOOLBAR BUTTON IS EXECUTED 3 TIMES

    Same seems to work very well in version 11g 8.

    Concerning

    Guddu

  • Is there a way to trigger an action advanced through custom JavaScript?

    I wish I had my 'normal' custom JavaScript trigger actions Captivate.

    This could be useful in a lot of ways, but what I would do right now must play an audio clip when certain conditions are met (a conditional, peak action is too clunky for my needs).

    Any way to do it? Thank you!

    You can trigger a fast action with JavaScript:

    cp.runJavascript (cp.model.data.objectName.oca);

    The script is advanced actions that are attached to objects, if it's a slide enter, you will need to find the id of the current slide.

  • Custom submit button

    Is it possible to create a submit button custom quiz in a multiple choice slide that has present features?  For example, a button created using forms and added to a quiz slide?  I use 9 Captivate.

    Thank you

    The f

    As far as I know the buttons (the embedded objects with built in functionality) are the only buttons/legends that cannot be replaced by form buttons (yet - fingers crossed, it will come soon).

    You can use a workaround, because the "submit" button is the most important component of every slide in the questionnaire. Hold the key, but make it invisible by removing the label, change the fill and border (is possible). And use a form (not a button) on this Submit button transparent. You cannot cover a question of form Slide button, because embedded objects are always on top, the reason why you should make the button transparent. It will look like a custom shape button but is really a Duet of the button Submit original with a shape that mimicks a button custom.

  • Custom image button resets

    Hello

    I have a project with about 50 slides and use a custom image button to allow to the learner access the glossary slide at the end.

    Unfortunately sometimes the action of all the buttons gets reset to 'continue' instead of 'jump to slide _.

    What could be the reason?

    I did not remove the slide with the glossary. I have download the XML definitions for the glossary widget. I also started quiz slides by adding at the end.
    Is there anyone knows casue/effect that resets the actions of the buttons?

    Thanks for any clues as the refiguring takes every 10 minutes each...

    I can't explain why the action evolves when you copy/paste but do have a tip for you.

    Why complicate this by having the individual buttons on each slide instead of the button a single form that you can put on the master slide or on the first slide and the time for the rest of the project? You can convert each image to a form button:

    Turn an Image into a button - Captivate blog

  • I installed a trial of Illustrator from Adobe on my macbook pro. I want to draw a picture using the custom trace button but can not. Does anyone have any ideas how I could track custom?

    I installed a trial of Illustrator from Adobe on my macbook pro. This is the release of 2014 of the adobe Illustrator. I want to draw a picture using the custom trace button.

    I start a new document. Then I place my scanned pencil/color pencil, drawing, in the document. I tried to scan and then placing it as jpeg, bitmap and a tiff file. I tried scanning and place then, in color and in black and white. The scan mode that I use is flat. Adobe Illustrator allows me to select the default button and one of the eleven preset buttons (e.g. photo high fidelity), but cannot me click on the record button custom. The custom trace button is gray while all other buttons are white.

    Does anyone have any ideas how I could track custom?

    Just it trace, and then change the options later. The follow-up is 'live', you can press the buttons and see what happens.

    See also the manual.

  • Where can I add my custom javascript?


    I am trying to add some javascript to be called when the view of a topic. We have an excerpt at the foot of each topic page that calls the javascript code and also has the text of the copyright law. This call to the javascript function that inserts the snippet seems to appear at the end of the html of each topic very well.


    Now, I wanted to include the javascript function that is called by the extract of footer once not only within each topic, so I put it in the whutils.js. But unfortunately, the whutils.js file seems overwritten at any time that the html help project is compiled.


    Is it recommended to find out where to register custom javascript source that won't get beat over RoboHelp compiling?


    Thanks for any help.

    C

    Welcome to our community

    In general, I will create a. Text file JS that contains my functions and adds that, for luggage.

    See you soon... Rick

    Useful and practical links

    Wish to RoboHelp form/Bug report form

    Begin to learn RoboHelp HTML 7, 8 or 9 in the day!

    Adobe Certified RoboHelp HTML Training

    SorcerStone blog

    RoboHelp EBooks

Maybe you are looking for