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>

Judy_AAuthor
Known Participant
July 7, 2009

I am going to try and add a couple of them individually.

Judy Long

Instructional Designer

Con-way Enterprise Services

Never Settle for Less.

2055 NW Savier

Portland, OR 97209

(503) 450-2724 Phone

(503) 450-5790 Fax

(503) 475-7901 Cell

long.judy@con-way.com

www.con-way.com


Looks like my two files did not attach yesterday.