Skip to main content
Participant
Feb 7, 2014 5:32 PM UTC
Question

How do you make a pop-up window appear upon button press?

Hello,

  I am trying to make a pop-up window appear when a user presses a specific button within a slide. Is this possible in Captivate 7?

Thank you for your help.

-Stacey

    This topic is closed to new replies. Start a new post to keep the conversation going.

    8 replies

    pbtpleads
    Participant
    Oct 13, 2015 9:44 PM UTC

    Yep, please define pop up in a bit more detail, i might be able to help also.

    Translate
    Lilybiri
    Legend
    Jan 19, 2020 10:50 AM UTC

    This is a 6 years old thread... has no sense to answer it.

    Translate
    Inspiring
    Feb 7, 2014 6:24 PM UTC

    Here is what I've done in a couple projects:

    1.  Create a smartshape (i.e., rounded rectangle) and put your desired text within this shape.  In the properties tab check "use as a button" and uncheck "visible in output."  In your "on success" action, set it to Hide > Smartshape you just created.  This essentially sets up a pop up window that acts as a button to hide itself when you're done.  I usually place an "X" up in the corner to indicate that you can close the window by clicking on it.

    2.  Set your button up that you want to show the pop-up, by assigning it an "on success" action to Show > Smartshape from #1 above.  This button will show the smartshape.. the smartshape itself will hide itself.

    Or.. look at examples others have posted about doing conditional actions to show/hide objects.

    Translate
    Lilybiri
    Legend
    Feb 7, 2014 10:18 PM UTC

    Would not use JS in this case but simple Hide/Show actions. I have a library with some shared actions that I can use at any moment, and some Hide/Show actions are in there: parameter can be an object or a group. I have combinations of Hide + show (to hide a whole group of objects and then show one), or with more than one Hide and/or show action. Easy.

    Translate
    sapphiregraphics1
    Known Participant
    Feb 7, 2014 11:45 PM UTC

    When you say "popup", do you mean in a new window separate from the Captivate window? Or do you just want a message to display on the slide?

    Translate
    sapphiregraphics1
    Known Participant
    Feb 7, 2014 6:13 PM UTC

    Choose "javascript" from the options (if you're using advanced actions, use the "current" window).  Then type:

    alert('your message here');

    Note that the javascript seems to run a bit slowly.

    You could also have it jump to another slide (or another website) depending on what type of pop-up window you mean.

    Translate
    VikramGaur
    Adobe Employee
    Adobe Employee
    Feb 7, 2014 5:34 PM UTC

    Hello,

    Welcome to Adobe Forums.

    What do you need in that pop-up window, do you need an alert message or a URL ?

    Thanks,

    Vikram

    Adobe Support

    Translate
    Participant
    Jan 19, 2020 10:45 AM UTC

    First I want to display a 3D image on pdf. I want to display a box by clicking on any object on the pdf and showing the information of the object. There will be text in this box but these operation should  not be a video in the pdf. I need to be able to control these things with the mouse. Can I do all this with "Adobe"?

     
    Translate