09-25-2003, 12: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, 01:42 AM
<a href="java script:openpopup('thepage')">Click here to open window</a>
09-25-2003, 01: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, 04:35 AM
Thanks this worked great.
I appreciate the help.
11-04-2003, 12: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, 05: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.