Opening a new window - I can do one, but I'd like to add a 2nd pop up to same page (Posted by strwbr
I am using an image as a link to a newwindow via javascript. I am very new at web design, and would like some help. I have the first link working fine, but I would like to add a second pop up window on the same page. How do I do this? I have tinkered around with it, but I'm not resolving this one. Any help would be appreciated.
http://karengiel.virtualave.net
Thanks!
John Pollock posted this at 20:58 — 23rd October 1999.
He has: 628 posts
Joined: Mar 1999
I thinnk all you need to do is give the second popup window a different name from the first one:
Popup1:
window.open('url','win1');
Popup2:
window.open('url','win2');
win1 and win2 name the 2 windows. After the window names you can fill in your width, height, and other attributes you are using.
----------
Page Resource: http://www.pageresource.com
JavaScript City: http://www.javascriptcity.com
Java Script: A Beginner's Guide
Page Resource
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.