Skip to main content
Participant
February 7, 2014
Question

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

  • February 7, 2014
  • 4 replies
  • 2789 views

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 has been closed for replies.

    4 replies

    pbtpleads
    Participant
    October 13, 2015

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

    Lilybiri
    Legend
    January 19, 2020

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

    Inspiring
    February 7, 2014

    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.

    Lilybiri
    Legend
    February 7, 2014

    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.

    sapphiregraphics1
    Known Participant
    February 7, 2014

    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?

    sapphiregraphics1
    Known Participant
    February 7, 2014

    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.

    VikramGaur
    Adobe Employee
    Adobe Employee
    February 7, 2014

    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

    Participant
    January 19, 2020

    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"?