View Full Version : multiple popups
09-25-2003, 01:14 AM
I am trying to use this script for several links on the same page, but am not sure how to set it up. All the links end up going to the first link's url
//Popup Window Script
09-25-2003, 02:42 AM
<a href="java script:openpopup('thepage')">Click here to open window</a>
09-25-2003, 02:45 AM
function openSizedWindow( url )
window.open( url, '', 'width=400,height=388');
<a href="#" onclick="openSizedWindow('file1.html');">Test 1.</a>
<a href="#" onclick="openSizedWindow('file2.html');">Test 2.</a>
09-25-2003, 05:35 AM
Thanks this worked great.
I appreciate the help.
11-04-2003, 01:16 PM
I like the script for Kelster's problem, with a pop-up for each URL.
and would like to use it for my URLS.
11-04-2003, 06:05 PM
I am trying ot use the code from fred mv below, but I get an error 404 when the window pops-up. It say in the window that it cannot find my html document (correct name) on the server. I know that it is looking for the right document....but that document is already on my server? What now?
Please check out:
go to link #1 for the error please.
Thanks for the help.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.