View Full Version : How do I open three separate new windows?

06-02-2003, 07:19 PM
Hi, this is my first posting...

I would like to open three different windows with
different sizes, but all the links always open to only
one window....the copyright window.

the code I am using in my last link is the following:

<Script Language="JavaScript">
<!-- Hide from old browsers
function openwindowlink() {newwin = window.open("http://www.promotion-des-sites-internet.com/copyright.html","windowname",
// end hiding --></Script>
<a href="JavaScript: openwindowlink()">Copyright &copy;</a>

On the other links, I have tried to rotate the order of the
functions in the script, but i continue to open only the copyright window.

What do I need to do so that I can open the right window for
each link.

Thank you,

06-02-2003, 07:29 PM
Like This

<Script Language="JavaScript">
<!-- Hide from old browsers
function openwindowlink()
// end hiding -->
<a href="JavaScript: openwindowlink()">Copyright </a>

06-02-2003, 08:59 PM
I think the problem is: By naming all the windows 'windowname', once there IS a window called 'windowname' (The first window opened), the two other windows open IN 'windowname'.
You have to name the windows differently (Or not name them at all)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum