Want to stay on same slide after button click - Captivate 5

I've got a button I'm using to pop up a separate browser window for a glossary. I need this button on every page of the module. I've got click boxes to control the flow of the timeline from page to page. When the user clicks the glossary, he should stay on the current page, get his information and dismiss the glossary. When I run it, the timeline pauses for the button, and if the user clicks it, the timeline progresses to the pause for the click box, still on the same page. But if the user clicks again on the button, the pop up window works, but Captivate moves on to the next page. Is there any way to prevent this, so that a user could click any number of times on the button without having the timeline progress past that page?
Thanks for any help anyone can provide.

Hi DS,
I use a javascript call to do what you describe all the time.
Since I use this all the time I embed the actual full javascript in Captivate's "standard.js" file. This is the full script:
function openBrWindow(theURL,winName,features)
   window.open(theURL,winName,features);
I save the standard.js file. On my workstation this is the path to that file:
C:\Program Files\Adobe\Adobe Captivate 5\Templates\Publish\standard.js
Now I can call the script anytime.
Here's how I configure the click-box:
If you look at Rick's picture (thanks Rick) in the Properties control menu under Action, for On Success, choose Execute Javascript.
Next Click the Script Window button, this opens up a blank window. Since you are just calling the javascript, you don't need to put the whole script in the window. Here is an example:
javascript:openBrWindow('myURL.html','thewindowname','height=800px,width=1000px,scrollbars =yes');
Ths example opens a window 800px tall and 1000 px wide with scrollbars. You can add additional attributes if you like. Make sure the URL is correct and has the correct path and if you have more that one of these on a slide the window name will need to be different. (If this persists from slide to slide you don't have to have them all as unique, only for more than one on a slide.
Now, click the little down arrow beside the Script Window button. This produces a little drop menu (as illustrated on Rick's image). Make sure you select "Top" and turn off the "Continue Playing the Project".
This control makes the newly spawned window appear on the top of the project and stops the playing of the slide. You can set other options in Properties to turn off or on captions as needed.
I hope this helps,
TPK

Similar Messages

  • BSP code to open new page in new window after button click

    Hi expert,
    I have a requirement to write a BSP code to open new page in new window after button click. I have done the same for opening in same window but not for opening in new window.
    Can you please help me out with the code in which the page opens in new window and the menubar & Addressbar is displayed in hide mode.

    Hi,
    To add more with Anubhav...
                              onClientClick = "javascript:window.open( 'pop.htm' ) "
    You can create a pop.htm page, and call the same in another page using the above code.
    Refer standard BSP examples, SBSPEXT_HTMLB, SBSPEXT_PHTMLB, SBSPEXT_XHTMLB. You can run the default.htm pages and see what way you want to design your BSP.
    Thanks,
    Sreekanth

  • Progress bar after button click ------ code included . need help

    Hi,
    this is my code. i want the progress bar to move after i click the OK button but its not working. Need help urgently.
    public class LoggenGUI extends JFrame implements ActionListener{
    private JButton btnOk;
    private JProgressBar current;
    public LoggenGUI() {
    super("Login");
    this.setBounds(350,225,350,235);
    // this.setSize(300,300);
    this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    this.setResizable(false);
    this.btnOk = new JButton("Ok");
    // associating action event listener to it
    this.btnOk.addActionListener(this);
    this.current = new JProgressBar(0,2000);
    this.current.setValue(0);
    this.current.setStringPainted(true);
    this.setContentPane(pane);
    this.setVisible(true)
    }// end constructor
    public void iterate(){ 
    while(this.num < 2000){
    this.current.setValue(this.num);
    try{
    Thread.sleep(1000);
    }catch(InterruptedException e)
    this.num= this.num + 200;
    if(this.num >= 2000)
    this.dispose();
    this.prgrBar = new ProgressBar();
    this.current.setStringPainted(true);
    public void actionPerformed(ActionEvent evt){
    Object source = evt.getSource();
    if(source == this.btnOk){    this.iterate();    }
    } // end class

    You keep posting this question every day. Do you
    think you are going to get a different answer each
    time you posted it without reading what others have
    told you to do!"Insanity: doing the same thing over and over again and expecting different results." --- A. Einstein

  • How can I display a new scene in JavaFX 2.2? For example after button click

    how to display new scene after button click in the main window, I want the main window and the new scene are in one stage. thx

    You can change the scene by calling stage.setScene(new Scene(newContentParent));
    I don't think you are quite asking for a complete scene change though as you "want the main window and the scene in one stage". The main window is a stage (as Stage extends Window). And a given stage can only contain one scene at a time (though you can swap it out by calling setScene as described earlier).
    What I think you are really asking for how can you replace some content part of the active Scene on the Stage. To do that you can set a layout manager like a HBox or a BorderPane as the root of your scene, then change out the content of the layout manager. For example:
    final BorderPane layout = new BorderPane();
    layout.setCenter(new Label("Dogbert");
    final Button nav = new Button("Next");
    layout.setLeft(nav);
    nav.setOnAction(new EventHandler<ActionEvent>() {
      @Override public void handle(ActionEvent actionEvent) {
        layout.setCenter(new Label("Dilbert"));       
    });In the above short sample code, if you wanted to change the scene rather than the a pane, then you would call stage.setScene rather than layout.setCenter.
    There is a complete executable example with multiple content panes and some styling here:
    http://stackoverflow.com/questions/13556637/how-to-have-menus-in-java-desktop-application

  • Sometimes (but not always), when I try to open a pdf document from the US bankruptcy court website, I get a window asking if I want to use Adobe Acrobat. After I click "yes", I get a bland screen.

    == Issue
    ==
    Firefox is having problems with certain web sites
    == Description
    ==
    Sometimes (but not always), when I try to open a pdf document from the US bankruptcy court website, I get a window asking if I want to use Adobe Acrobat. After I click "yes", I get a bland screen.
    == URL of affected sites
    ==
    http://
    == Troubleshooting information
    ==
    Firefox Version
    3.6.3
    Extensions
    Name
    Version
    Enabled
    ID
    Skype extension for Firefox 2.2.0.70 false
    Java Console 6.0.01 false
    Java Console 6.0.02 true
    == Firefox version
    ==
    3.6.3
    == Operating system
    ==
    Windows 7
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
    == Plugins installed
    ==
    *-Office Plugin for Netscape Navigator
    *Download and Print Plug-in DLL
    *Default Plug-in
    *Shockwave Flash 10.0 r45
    *Adobe PDF Plug-In For Firefox and Netscape

    Hi.
    Does this only open on that specific site?
    In any case, you may want to:
    - instruct Firefox to handle PDF files in a specific way by going into Tools > Options > Applications and selecting the option you want for the PDF files
    - reinstall Adobe Reader and its Firefox plugin
    - install another reader instead of Adobe Reader. I recommend Foxit Reader ( http://www.foxitsoftware.com/pdf/reader/ ), since it's free, VERY light, VERY fast, safe and also has a Firefox plugin (make sure you don't have both Adobe Reader plugin and Foxit Reader plugin enabled/installed at the same time in Firefox)

  • After inserting data,want to stay on same page

    probem solved
    Edited by: rommy on Jul 8, 2009 12:56 AM

    Hi DS,
    I use a javascript call to do what you describe all the time.
    Since I use this all the time I embed the actual full javascript in Captivate's "standard.js" file. This is the full script:
    function openBrWindow(theURL,winName,features)
       window.open(theURL,winName,features);
    I save the standard.js file. On my workstation this is the path to that file:
    C:\Program Files\Adobe\Adobe Captivate 5\Templates\Publish\standard.js
    Now I can call the script anytime.
    Here's how I configure the click-box:
    If you look at Rick's picture (thanks Rick) in the Properties control menu under Action, for On Success, choose Execute Javascript.
    Next Click the Script Window button, this opens up a blank window. Since you are just calling the javascript, you don't need to put the whole script in the window. Here is an example:
    javascript:openBrWindow('myURL.html','thewindowname','height=800px,width=1000px,scrollbars =yes');
    Ths example opens a window 800px tall and 1000 px wide with scrollbars. You can add additional attributes if you like. Make sure the URL is correct and has the correct path and if you have more that one of these on a slide the window name will need to be different. (If this persists from slide to slide you don't have to have them all as unique, only for more than one on a slide.
    Now, click the little down arrow beside the Script Window button. This produces a little drop menu (as illustrated on Rick's image). Make sure you select "Top" and turn off the "Continue Playing the Project".
    This control makes the newly spawned window appear on the top of the project and stops the playing of the slide. You can set other options in Properties to turn off or on captions as needed.
    I hope this helps,
    TPK

  • F110-Enhancement: User want to reran the same proposal after delete

    Hi guys
    It would be great if ane one having answers.
    User want to rerun the same proposal  when he likes to update the exchage rate after the payment proposal made   .For this, he will delete the proposal and reran the same proposal.
    This is for only Customers and not for Vendors as F110 itself taking care of vendors.
    Here the requirment is when he reran the same proposal he checks  new proposal documents with the documents  existed in ZTABLE earlier(needs to be crated z table for entries RUN DATE,IDENTIFICATIN,ALL DOCUMENTS belongs to each proposal ). if all documents are same then no issue ..payment ran takes place and then delete those documents from ZTABLE.if not same, for those documents payment should  be blocked(
    i.e any new  documents created  first propal and reran  proposal  those new documents shold be blocked) and then delete those documents from ZTABLE too.
    I found one BADI:   FI_F110_SCHEDULE_JOB which is triggering before proposal made.
    its having one structure  F110V having only contains one vendor(lower limit of vendors) and only one customer ( lower limit of customers) so here i could not get all the vendors and all customers but i can get all open doucments from table BSID and BSIK .
    it can be used to some extent but anyway useless.
    BTE: 1860.
    this can be used but user has to click the line item of the proposal run.if suppose there are more documents , it is also useless.
    Another BTE:2040,2060
    I can use these BTEs to delete those documents stoed in ZTABLE after payment made.
    kindly suggest me if anybody have any idea on this enhancement.
    Thanks
    Babu

    Hi,
    When delete event is fired, in PFR capture the selected tab details
    tabBean.getSelectedIndex(pageContext);
    store it in session
    then
    forward it to warning/dialog page
    post the warning page results to calling page
    in the process form request of calling page capture the event
    use
    tabBean.setSelectedIndex(pageContext,value)
    value get it from session
    pageContext.getSessionValue() API
    Regards
    ivar

  • How to display another scene after button click

    In my Application, I've already create tool bar and menu bar at the top, a navigation panel on the left, and a working area in the center. I have an introduction page in opening my application, but I have a problem, when I click a new project button in my navigation panel to show a scene in working area.. a new scene display separately with main window.. I want that scene integrated with main window, can you help me to solve this problem?
    Edited by: 973863 on Dec 2, 2012 6:28 AM

    Has this question not already been answered?
    How can I display a new scene in JavaFX 2.2? For example after button click

  • Staying on same slide when opening a link in a new window (Captivate 4).

    I have course where I have put several links on a single page. Two of the links are buttons linking to external web pages. That seems to be the only way I can make active links to other resources.  I have them open in a separate window.  There are also next slide and back buttons on each page.  When I click on the link to open the other web page (in a separate window), the slide with the link automatically goes to the next page.  I can't find any way to keep the page there when I click one of these other buttons that open a new window.  Any help anyone can provide is really appreciated!!
    This is in Captivate 4.
    ddesilet

    Hi there
    Edit the button and look where you clicked to choose the New Window option. At the bottom is an option labeled "Continue playing project". DE-select that option.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Font size won´t stay the same size after I save the form

    Hello!
    I need to set up a form with fonts sized 15.5, 9.5 and 7.5px.
    Acrobat allows those sizes but once I save the file the form I´m filling has sizes 16, 10 and 8.
    Is there any way to solve this issue?

    Hi,
    I have had this problem.
    It seems that iChat is more sensitive to small breaks in the network link. Web Browsers and Mail just don't show them as they make new connections each time they download mail or change pages.
    If wireless try it wired for elimination purposes.
    Check the time any DHCP server renews the leases.
    8:49 PM Monday; February 26, 2007

  • Javascript after button click not working

    The problem is on button submit I wanted a javascript prompt which does not work in the portal.
    The code is like this
    privatevoidbtnSubmit_Click(objectsender, System.EventArgs e)
    Page.RegisterClientScriptBlock("alert","<script language='javascript'>alert('Thank you! Your form was successfully submitted.');</script>");
    Could you explain this.
    Thanks

    Hi guys,
    try the following code.
    page_load code
    ===============
    YourButtonName.Attributes.Add("onClick", "JsFnName()");
    Javascript code in .aspx
    ========================
    <script language="javascript">
    function JsFnName()
    alert('Thanks you your form was succesfully submitteid');
    </script>

  • Add a custom button on notification page and open a oaf page after button

    Hi All,
    My Requirement is add a custom button on notification page and after button click with take some parameter from notification page like supplier_id and org_id then open a new oaf page and show supplier credit and debit balance but problem is that button is only enable to a ap invoices notification not for other type of notification.
    how to take approach/action i don't know.
    it is possible through OAF personalization/customization or it is part of work flow customization.
    Navigation path - payable->worklist->open notification and Type of notification also there
    Type should be matched with AP_Invoices type notification then custom button enable.
    Please Let me know is it possible or not. If possible how to achieve this. ...................................it's argent...plz help me
    Edited by: 815572 on Nov 25, 2010 1:15 AM

    Hi Irk,
    My notification came in given below format (in table) but my custom button only enable for Contract Approval Type not for others..........i hv attach a button on notification page (subject-Contract 21969-R17......)
    From Type Subject Sent
    Taylor, Phillip Contract Approval Contract 21969 - R17-AUG-07 06:19:27 has been approved by Taylor, Phillip 22-Aug-2007
    Taylor, Phillip OKS Contract Process Contract 21975 - R17-AUG-07 06:22:18 for AT&T Universal Card (52,500.00 USD) has been published online 19-Aug-2007
    Taylor, Phillip OKS Contract Process Contract 21969 - R17-AUG-07 06:19:27 for AT&T Universal Card (15,000.00 USD) has been published online 19-Aug-2007
    If I just put a button SHOW BALANCE just like notification button APPROVE, REJECT, REASSIGN but this button shows all types of notification and my req. is this button show only for Contract Approval type notification. how to handled this issuesss ?
    if extend the co of notification page then how to handle TYPE value from worklist page ....please write proper code if u hv any idea...........
    Thanks,

  • How to diplay table row dynamically  by button click

    Hi All,
    I had a table with  with visible row count '3',   i want to display dynamic row  by a button click, mean a 4 th row need to  be added to the table with same like  row '3'.
    please help me ..
    Thanks,
    Raj.

    Hi Raju,
    while click the Add Button,
    Get the all the Rows from the Table  and Put it in to one internal table . after that append the one empty record to that internal table. then again bind to that node.
    Like following code.
      DATA lo_nd_sales TYPE REF TO if_wd_context_node.
      DATA lo_el_sales TYPE REF TO if_wd_context_element.
      DATA ls_sales TYPE wd_this->element_sales.
      DATA lt_sales TYPE wd_this->elements_sales.
    navigate from <CONTEXT> to <SALES> via lead selection
      lo_nd_sales = wd_context->get_child_node( name = wd_this->wdctx_sales ).
    get element via lead selection
      lo_el_sales = lo_nd_sales->get_element(  ).
      CALL METHOD lo_nd_sales->get_static_attributes_table
    EXPORTING
       from   = 1
       to     = 2147483647
        IMPORTING
          table  = lt_sales
      IF lt_sales IS NOT INITIAL.
        CLEAR ls_sales.
        APPEND ls_sales TO lt_sales.
        lo_nd_sales->bind_table( lt_sales ).
      ENDIF.
    Regards,
    Vijay.

  • Show/hide panels on button click

    Hello,
    I have to show/hides several panels on same palette on some button actions. I am trying to check whether it is possible to add each child panel in different .fr files.
    Just to brief,  On panel I have different icon buttons and on each button I have to show different view in the main panel thus I cannot use tabular dialog. Please help me to find a way to achieve this?
    I tried following code
    I have Created two primary resource panel in TestSample1.fr,TestSample2.fr files respctively.
    My main panel (Palette panel) have two buttons (TestSample1Button,TestSample2Button).
    I want to show/hide these panels on button click in main panel.
    InterfacePtr<IPanelControlData> parentPanelCtrlData(Utils<IPalettePanelUtils>()->QueryPanelByWidgetID(kMainPanelWidgetID) ); // main panel
    if(parentPanelCtrlData)
        InterfacePtr<IControlView>         testSample1PanelPanelView((IControlView*)::CreateObject(::GetDataBase(this),kTestSample1P anelWidgetBoss,IID_ICONTROLVIEW));
        if(testSample1PanelPanelView)
            parentPanelCtrlData->AddWidget(testSample1PanelPanelView);
    I have added above code on TestSample1Button observer.But it is not working.
    is It possible? can anybody help me?

    Yes it is possible.
    I am not sure but following line of code also needed after adding widget .
    testSample1PanelPanelView->ForceRedraw(testSample1PanelPanelView->GetDrawRegion(), kTrue);

  • Hide/show a form upon button click

    Hi
    I want to show/hide different form upon button clicks. Also I want to clear the data from a form upon button clicks. How can I achecive this? Thanks in advance.

    Hi,
    Create one boolean variable in your datastore. Click of the button should set the value to false and you can bind the same variable to the visibility property so that you can hide and display accordingly. For making the values blank, you can put condition on the detault value formula IF(!<your datastore variable>,"",<value needed>)
    Regards,
    Murtuza

Maybe you are looking for