Button widget - add javascript?

I would like to add a Close button to my master slide that executes javascript: window.close().
Is there a way to do that with the button widget?

That option is not listed in the dropdown for this widget.
Interactive objects cannot currently be added to Captivate master slides.  So you cannot do this with a normal button or click box either.
There is a Close button that can be added to the playback bar, but whether or not it will close your window depends on a number of factors.

Similar Messages

  • Firefox 27.0.1 on a Mac OS 10.9.2 the button to enable javascript is missing

    I am having a problem with the BBC iPlayer playing in a separate pop-out player. Their support people have asked me to check that javascript running is enabled.
    In the Preferences content tab there is no button to enable Javascript, in fact the Preference screen looks nothing like the picture on the support sites.
    I have found that other preference items have moved in Mavericks after I upgraded and I would be pleased if you could tell me how to get Firefox working properly again. FYI I have no problem with the pop-out issue with Chrome or Safari

    To avoid confusion:
    *http://kb.mozillazine.org/JavaScript_is_not_Java
    If you use extensions (Firefox/Tools > Add-ons > Extensions) that can block content (e.g. Adblock Plus, NoScript, Flash Block, Ghostery) then make sure that such extensions aren't blocking content.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    You can inspect and manage the permissions for the domain in the currently selected tab via these steps:
    *Click the "[[Site Identity Button|Site Identity Button]]" (globe/padlock) on the location bar
    *Click "More Information" to open "Tools > Page Info" with the Security tab selected
    *Go to the Permissions tab (Tools > Page Info > Permissions) to check the permissions for the domain in the currently selected tab
    You can inspect and manage the permissions for all domains on the <b>about:permissions</b> page.
    *https://support.mozilla.org/kb/how-do-i-manage-website-permissions

  • Adding an image to the Static Button Widget

    Hi all
    I managed to convince my client to let me do my own navigation instead of using the by default navigation bar and its limitations. I finally will be able to do branching and customised feedback on several slides! Great. BUT. There is a but. I need to make the new buttons look like the current ones: Pause/Play, previous, next, TOC and Exit.
    I was happy to discover that I could use a static button widget on my master to deal with my previous and next buttons for all my standard slides. But when I try to add an image of my button the way I want it to look, it looks like that:
    If I resize the button the picture remains at the same size:
    I don't get the Image feature here at all and I wonder if it's possible to customise the button with our own pictures...
    Any success anybody?

    Alright thanks for your suggestions. Yes I am publishing to a slightly different location and I pasted the picture at the root of the published folder. The pic is found but it appears tiny:
    It should replace the button by default but it is added to the button actually, by its side.
    Cheers
    Helene

  • How do I make a Radio Button Widget Report to an LMS?

    Alright....still trying to solve my basic problem.....
    I can put in a radio button widget which looks great, but radio buttons do not report info to LMS.  THen I can use Ravvi's code style to set a variable based on which radio button was clicked and then take a specific action depending on the value.  The action I want is to send info to LMS.  How can I do this? 

    I may have, but I have run across many Survey forms that do exactly that.
    Some also have checkboxes as well and they are used for Check all that apply.
    For all I know they may be using JavaScript code for the buttons to react the way the do.
    I don't know if any of you are old enough to remember the old two button light switches. push one in and the others pop out. Push the other in and the first pops out.  That's the button action I see on many survey forms.
    I am not saying it correct. But if its not correct, how does one change their mind if the clicked the wrong choice?

  • Button widget 'back' bug

    Hi,
    I am pretty new to captivate (using 5) so am not sure if this is a bug or if there is something else I need to add to my slides,
    I have used the button widget to create forward and back buttons on my master slide to give the user control of the presentation. On the first time through the presentation the forward button works fine with the slides not advancing until this has been pressed but if I use the back button at any point in the presentation it then plays at the original speed runnign through all of the slides.
    Once the user has returned to check something or re-read something on the previous slide I would like this to pause until the click the next slide button again.
    The end presentation is part of a course and overall there will be a few hundred slides so I am trying to avoid having to add something individually onto each slide - unless there is a quick way to do this?
    Thanks,
    Mary

    Hello,
    Not sure if I understand the issue, have been using the button widget on master slides.
    A quick way to have a normal button on all slides (or multiple buttons): put them on one slide, and do all the configuration, then copy them, select all the other slides in the filmstrip and paste. They will all have the same functionality and be in the same position.
    Another idea: there is also a PerpetualButton widget: put it on the first slide and set its timing for the rest of the project. But of course, you have to like that button or to adapt it in Flash.
    Lilybiri

  • Button Item and JavaScript

    Hi everyone
    I am trying to execute a Javascript function when a button item is pressed. This javascript execute a doSubmit() in order to called a branch of the page.
    I tryed to make this using this code, first in a branch (PL/SQL) and then in a PL/SQL process, but did not work, "chkSubmit(false)" function is not being called.
    begin
    htp.init;
    htp.p('<script language = "javascript">');
    htp.p('<!-'||'- Comment out script for old browsers');
    htp.p('function callFunction()');
    htp.p('{');
    htp.p(' chkSubmit(false);');
    htp.p('}');
    htp.p('callFunction();');
    htp.p('-'||'->');
    htp.p('</script>');
    end;
    Does anybody knows how can I fixed this problem?
    Thanks in advance
    Andrés

    Instead of fighting it, what I end up doing is just
    create a plain HTML button in the Post Element Text
    of the previous item and put my function there
    <input type="button" class="..." value="Click me!" onClick="foo()" />A tip for using "Post Element" buttons:
    Check out the HTML that gets generated using "View Source" in your browser
    (in Firefox, that's Ctrl-U).   The biggest problem is getting the display right. 
    The HTML generated uses <td> <label> and <span> elements, so a simple
       <input type="button" value="Add Filter" onClick="somefunc()">
    looks bloody awful.  You need a bit more to make it line up nicely.
    Here's what I have for a button that displays at the end of a row of region items,
    each of which has its label above it:
    <td  colspan="1" rowspan="1" align="left">
      <label for="P1_foo" tabindex="999">
        <span class="t10OptionalLabel">foo label</span>
      </label>
      <br><input type="button" id="P1_foo" value="foo" onClick="alert('foo!');">
    </td>
    You might be using a different template and/or layout than I am, so DO go to the
    browser and figure out what HTML is being generated.  If you don't want the label,
    substitute " " for "foo label" in the example above.  It's a snap from there.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Why cant I add contacts on the iphone4? the mail contacts calendars button unders settings, the contacts button, the add a contacts button under message and the phone button will not work to add a contact.

    Why cant I add contacts on the iphone4? the mail contacts calendars button unders settings, the contacts button, the add a contacts button under message and the phone button will not work to add a contact.

    Have you attempted a restore?

  • Add javascript to Out of the box Modal Dialogue Box in Sharepoint 2010.

    Hi,
    We have Sharepoint and Project Server 2010 SP-2 enviroment. We are using Project Server Timesheet for our managing Time logging.
    Project Server 2010 has "Add existing task" Modal Dialogue box in which I want to add "Javascript" code in order to sort the Project Server Timesheet Line Claasification listbox control in Ascending order.
    As you can see from below screenshot "Standard" the Out of the box timesheet line classification is coming at top and then our custom line classification coming.
    But I want to sort this list in ascending order so that this "Standard line classification can come at the bottom of the listbox control.
    Please suggest me how can I achieve this.
    Thanks much !!!
    Sachin Vashishth MCTS

    Thanks SaiRam from input, I can get JQuery for sorting the control over the internet no issue. I have to pass the ControlId in J-Query to sor the items in that control and I am not able to get the control id as it;s modalk dialogue box.
    Can you please explain further here, also let me know in case I am wrong in my understanding.
    Thanks !!!
    Sachin Vashishth MCTS

  • How do I use a button to add "1" to a number?

    I'm sure this is so simple that I'm going to be smacking my forehead when someone gives me the answer but for the life of me, I can't figure out how to do this.
    I'm making a simple pdf that lists ticket prices for an event. I want the button to add one to the number of tickets ordered every time it's clicked. I need the starting value to be "0" tickets. How do I do this?

    Hi,
    Use a variable to strore the value. In the click event of the button increment the value. In the click event of the button, you can put the following code.
    var count +=1;
    Thanks,
    Bibhu.

  • Setting a Radio Button value using Javascript

    After much research, I've figured out that the appropriate command to get the value of a Radio Button in APEX JavaScript is "html_RadioValue", but I haven't been able to figure out a command that will let you set the value of the Radio Button. Is there documentation on APEX's use of JavaScript that covers this issue?
    Here's a simplified version of the script:
    <script language="JavaScript" type="text/javascript">
    function showval()
    var item1 = html_RadioValue('P19_RADIO');
    alert(item1);
    //Reverse the current selection
    if (item1 == 'Y') then
    <mystery_statement> //set P19_RADIO to N.
    else
    <mystery_statement> //set P19_RADIO to Y.
    </script>
    I've tried the following, but none of them have worked:
    - document.getElementById("P19_RADIO").value = 'N';
    - document.getElementById("P19_RADIO").checked = 'N';
    - $x('P19_RADIO').value = 'N';
    - $x('P19_RADIO').checked = 'N';
    Thanks.

    Okay, that worked in the Oracle-hosted environment, but not in my development environment. Looking at the view/source output from each, it seems that the versions of APEX are different - my environment is using version 3.0.1.00.07.
    The most obvious difference between the sources is the javascript includes at the top:
    <script src="/i/javascript/apex_ns_3_1.js" type="text/javascript"></script>
    <script src="/i/javascript/apex_3_1.js" type="text/javascript"></script>
    <script src="/i/javascript/apex_get_3_1.js" type="text/javascript"></script>
    <script src="/i/javascript/apex_builder.js" type="text/javascript"></script>
    vs.
    <script src="/i301/javascript/htmldb_html_elements.js" type="text/javascript"></script>
    <script src="/i301/javascript/htmldb_get.js" type="text/javascript"></script>
    My fundamental question is: how does one learn Javascript, in the context of APEX? I can't find any documentation that explains what $v means, or what $x means, or what $s means.
    Thanks.

  • Can you create a button that adds specific text to a form field?

    Hi,
    I was wondering if it was possible to create a button in a PDF that, when clicked, adds specific text to a form field?
    I am trying to make a product catalogue where you click on a product button to add the product name or code to a form field.
    Each product in the catalogue will have a button and the more you click the more is added to the form field(s).
    Then when you have finished adding products to the form field(s) I want to be able to save and email the entire PDF as an order form.
    Any thoughts would be appreciated!
    Cheers,
    Jim

    Yes, it's possible. The most simple version of such a script will be something like this (used as the button's MouseUp event):
    var v = this.getField("Products");
    if (f.value!="")
         f.value += ", ";
    f.value += "Product1";

  • Custom master page branding is missing buttons to add Web Parts

    I've created a custom master page which does not display the "add" or "cancel" buttons when adding web parts to the page. These elements are controlled by CSS tags such as: .ms-wpadder, .ms-wpadder-cell, .ms-wpadder-buttonArea, .ms-wpadder-zoneArea, #s4-ribbonrow
    among others. I have attached a screenshot on my SkyDrive account
    SharePoint Master Page Screenshot
    which displays the web part objects but not the buttons to add them to your page. The cells of the #s4-ribbonrow are red .ms-wpadder-cell have been colored orange for display purposes. Here is some code I am experimenting with to solve the problem
    #s4-ribbonrow{background-color:red !important; padding-bottom:50px !important;min-height: 43px; max-height:200px; overflow-y: hidden;}
    .ms-wpadder-buttonArea .ms-wpadder-zoneArea{padding-bottom:50px; background-color:aqua;}
    .ms-wpadder-cell{min-height:220px !important; background-color:orange;}
    .ms-wpadder{padding-bottom:50px !important;}
    #RibbonContainer{background-color:transparent;}
    body #s4-ribboncont{background-image:none; padding-top:150px;}
    Alex Dove - MA, MCP, SharePoint certified developer

    Hi Pivotal,
    I think you use other style, because I apply your style on v4.master but this hide all ribbon
    panels, anyway I think your issue related with  
    body #s4-ribboncont
    padding-top: 150px;
    Try to decrease or remove padding-top.
    Hope that helps a little
    Regards,
    Senior Sharepoint Developer [email protected]

  • How do you enable 'Create Content' button on 'Add Content' page?

    How do you enable ‘Create Content’ button on ‘Add Content’ page?
    There is new functionality to a ‘Layout’ type personalization page like ‘Sales Dashboard’.
    Bug 4503123 INCONSISTENT WAY OF ADDING USER-DEFINED REGIONS ON WYSIWYG PAGE:
    There’s no way to add custom content to a configurable page.
    Add a “Create Content” button and let the user create a piece of content that extends to a region he creates.
    It says: Fixed->11.5.10.3CU
    In Oracle® Application Framework Personalization Guide Release 11i Part No. B25439-02 it says:
    p 4-5
    If you personalize a non-configurable page (a page that does not have the necessary metadata to personalize its layout) or when you run your application in Accessibility mode (profile option Self Service Accessibility Features (ICX_ACCESSIBILITY_FEATURES) is set to Standard Accessibility), you will not see the Page Layout Personalization page, as shown below. Instead, you will see the Page Hierarchy Personalization page, page 4-12, where you can perform the same personalization functions, using a descriptive tabular user interface.
    It tried this and can’t get it to display.
    Has anyone run accross this before?

    user587952,
    Can you describe your issue in detail forgetting those references for the time being. What exactly are you trying to do?
    Check this from the dev guide:
    In order to be able to take full advantage of page layout personalization capabilities, it is important when you create your configurable page, to use flexibleLayout and flexibleContent regions at all levels when you create the page hierarchy structure under your page layout region. In Oracle Applications, this is required, as it is the coding standard.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to Use an Image to Customize the Static Button Widget

    Can I just get someone to help me figure out how to use an image to customize the static button widget, please?
    I have tried using several different types of images, but none of them seem to actually change the appearance of the button.
    Thanks!
    Laura
    Captivate 5.5

    I tried to use the tools within the widget itself - it offers you the opportunity to use an image (see screenshot below).
    I also opened it in Flash and tried to replace the images for one of the button styles there w/ my own, but in re-publishing the SWF from there I broke the widget.  When I attempted to use the edited widget, there were no customization controls available after I inserted it (see screenshot two below).

  • Tables with buttons to add rows

    Morning
    I am having trouble with a table that has buttons to add, show and hide rows.  There are 2 rows in my table which I need to be able to add depending on which button is clicked.  I've managed to get the first button to add an instance using (Table.Row1.instanceManager.addInstance(1);) but I can't get row 2 to add to the bottom of the table with a button.  I've tried to amend the script to fit the second row but it doesn't work.
    Table.Row2.instanceManager.addInstance(2);
    I'd appreciate some help
    I can send a sample if need be.
    Many thanks
    Ben

    The correct syntax is addInstance(1) (or addInstance(true)).
    As long as the row is set to repeat (Object>Binding>Repeat Row for Each Data Item) it should work. If the row doesn't exist yet then try using the underscore shortcut for the Instance Manager: Table._Row2.addInstance(1);

Maybe you are looking for