Skip to main content
Known Participant
July 1, 2009
Question

Creating Popup windows from button

  • July 1, 2009
  • 1 reply
  • 4767 views

I am trying to have a button in captivate open a popup window to display a captivate demo. All of the Javascripts I have tried to use do nothing.

Does someone have a script that works, or a work around? I can get it to launch another HTML page but then it wants to open two windows instead of just the one with the demo.

Thanks,

Judy

This topic has been closed for replies.

1 reply

Participating Frequently
July 1, 2009

Hi,

I just tried this on the Execute Javascript window and it worked

window.location.href = "http://www.google.com";

--

Manoj

Judy_AAuthor
Known Participant
July 1, 2009

Thank you,

I am having the same issue as I tried before. I get two windows opening, one the size that is stated, and a regular browser window.

Here is my Java and HTML

Button Java

I want to open this htm, and then have the HTML document open the demo movie.

window.location.href = "http://tctsb.con-way.com/remote_publishers/help_training/MobileSCO/CBT/DemoTest/LogIn_demo.htm";

HTML

<SCRIPT LANGUAGE="JavaScript">
function popWindow(LogIn_demo_skin.swf) {
window.open(LogIn_demo.swf,'MyWindow','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,wi dth=500,height=400');
}
</script>

Captiv8r
Legend
July 1, 2009

Hi there

The Captivate that's attempting to open the window, is it being presented via EXE output or as a SWF/HTM?

Cheers... Rick

Helpful and Handy Links