[Javascript] open two new windows

Andrew Dunn andrew at d2k.com.au
Sun Feb 17 22:57:36 CST 2002


Hi,
   (This may sound confusing)I have a browser window that will open a new
window when the user first comes to it. On the base window (the first window
opened) there is a link that will open a new window, but I want this link to
open in a third window, I'm using this function:

function openwindow(window_name) {
	var new_window;
	new_window =
window.open(window_name,"contact","menubar=no,toolbar=yes,width=
200,height=505,top=100,left=250");
}

When I click the link on the base window, I'ts not opening in a third window
but opening in the second window that was originally opened when the user
first comes to the site. Does anyone know a way to open a third window up?

Regards,
Andrew



More information about the Javascript mailing list