Skip navigation
rickhumphries86
Currently Being Moderated

Pop-up window problems using javascript

Apr 10, 2012 2:07 AM

Tags: #javascript #popup_window

Hi, I am trying to introduce a pop-up window which shows when a user clicks a button. Currently the only way I can think of doing this is by javacript...does anyone know a method through which this can be done in Captivate? I'm using version 5.5

 

If not, then I have used the window.open javascript function which works in firefox and chrome browsers, i.e.

 

window.open ("fullURL","mywindow","menubar=1,resizable=1,width=700,height=400");

 

However, although the pop-up window works in internet explorer, the original web page (that has my captivate 5.5 project on) changes to another webpage which simply reads '[object]'

 

Is there anything I can do to stop this happening?

 

Thanks

 

Rick

 
Replies
  • Currently Being Moderated
    Apr 10, 2012 2:16 AM   in reply to rickhumphries86

    Hi Rick,

     

    Not sure what you mean by 'popup window'? You can also use advanced actions to show previous hidden objects as well. But if you really want to have another window on top of the present one, it has to be JS.


    Lilybiri

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 10, 2012 3:01 AM   in reply to rickhumphries86

    Hi Rick,

     

    Did you try the options under that tiny little button next to the URL? There is New, Parent, On Top....

     

    URLWindow.png

    Lieve

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 10, 2012 3:20 AM   in reply to rickhumphries86

    Be aware that if you are intending to deliver this content from an LMS then opening another window from a URL in the content can potentially interrupt the API connection between the LMS and your content.  I'm not saying this would happen for sure, but if you ARE using an LMS, it's something you should test before committing to your current strategy.  Otherwise you might get a rude surprise when people find they get to the end of the module and the LMS does not register their score (because it thinks the connection dropped out).

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 12, 2012 4:47 AM   in reply to rickhumphries86

    For others reading this post, try this widget for opening a new window with defined width, height and X/Y coordinates:

    http://captivatedev.com/2012/04/11/adobe-captivate-5-x-widget-pop-up-w indow-widget/

     

    Jim Leichliter

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points