Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] open two new windows
- From: javascript@xxxxxxxxxx (Dan Costea)
- Subject: [Javascript] open two new windows
- Date: Mon, 18 Feb 2002 08:49:32 +0100
Any window has an ID (the second parameter of the window.open). If you want to always open a NEW window, you can use: window.open(window_name,"_blank","menubar=no,toolbar=yes,width=200,height=50 5,top=100,left=250"); If you want to open an link over an already opened window, you can use the ID of the window already opened (you used the "concat" ID). Try http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/ref erence/methods/open_0.asp to see more about window.open. Dan. > 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
- References:
- [Javascript] open two new windows
- From: Andrew Dunn
- [Javascript] open two new windows
- Prev by Date: [Javascript] open two new windows
- Next by Date: [Javascript] Re: Screen refresh
- Previous by thread: [Javascript] open two new windows
- Next by thread: [Javascript] Re: Screen refresh
- Index(es):