Skip to main content
April 30, 2009
Answered

Is it possible to launch a pop-up window

  • April 30, 2009
  • 2 replies
  • 3855 views

I have tried all sorts of code snippets but so far nothing is working, is it possible to launch a popup window from a transparent button within Adobe Captivate 4.  Or any other way to have a learner click on a link or graphic to open a pop-up window?

Thanks -

Manola

    This topic has been closed for replies.
    Correct answer Captiv8r

    Hi all

    This is possible but not without using some JavaScript to do it. You are best off if you insert the script into the HTML code of the wrapper file Captivate creates. You will probably need to declare a function and insert the script into the function. Then inside Captivate, insert a Click Box or a Button object and program it to Execute JavaScript. From there you would insert the function name you created in the HTML wrapper file.

    What was mentioned in the last post was using the Open URL or File option. This could work, but you would likely need to ensure the option was selected to open the link in a new window.

    Cheers... Rick

    2 replies

    chopper523
    Known Participant
    April 30, 2009

    I have done this with buttons. In your button properties you have the option "If user clicks on the button:" one selection should be "Open URL or file". Once this is selected you'll get another text entry box where you can put the URL and if they click the button, the browser will open to the URL you specified. I haven't tried doing this with any of the transparent options. So not sure if you can force a URL open, but that would be something handy to play with and see if it would work.

    Captiv8r
    Captiv8rCorrect answer
    Legend
    April 30, 2009

    Hi all

    This is possible but not without using some JavaScript to do it. You are best off if you insert the script into the HTML code of the wrapper file Captivate creates. You will probably need to declare a function and insert the script into the function. Then inside Captivate, insert a Click Box or a Button object and program it to Execute JavaScript. From there you would insert the function name you created in the HTML wrapper file.

    What was mentioned in the last post was using the Open URL or File option. This could work, but you would likely need to ensure the option was selected to open the link in a new window.

    Cheers... Rick

    Inspiring
    June 11, 2009

    Any ideas of where i can find detailed instructions on how to do this?

    chopper523
    Known Participant
    April 30, 2009

    Do you mean a browswer pop-up or a separate captiate window?

    April 30, 2009

    I would like a browser pop-up window that can be left open or moved around on learners desktop outside of Captivate.