I am using window.open to open a browser window on the web and that works fine. But where I am stumped is when I try to open another window it opens in the window that was already open rather than launching another browser. So if someone could let me know how to launch multiple windows it would very much appreciated.
Subject: Open multiple windows on Web
Are you using the same window handle? If you do this:
newWin = window.open(first URL…)
newWin = window,open(second URL…)
you will be using the same new window.
Subject: Open multiple windows on Web
There are many ways. A couple:
via javascript: window.open
via target frame: using a target frame of _blank is the “official” way, but actually, using anything at all which isn’t a currently valid frame name (null, fred, nosuchframe, rumplestiltskin, etc.) works just as well – although it’s undesirable since it’s obtuse and not self-documenting.
Subject: RE: Open multiple windows on Web
Actually, “_blank” works differently than other names. If you use something like “_new” you will get a new window initially, but other attempts to open documents destined for “_new” will open in the existing window. When you use “_blank” you always get a new window. This is most noticeable when trying to open documents from a framed view into their own windows. “_blank” gives each document its own window while anything else opens only one new window.