Window.open - multiple briowser windows

Hello,

Opening more than one browser window with window.open is not working. Not sure if this is a limitation or a parameter I need to set.

Form A Opens in original browser window, has a link on the form to Form B. Form B open in a new browser window with window.open, this works fine. Now Form B has a link to Form C. Using the window.open, it will not open in a new browser window, it opens in the same browser window. If I open Form B in the original Browser window, then Form C opens in a new window.

Here is the javascipt code on the link

pnum = window.document.forms[0].tx_number.value;

url =“/test/test.nsf/(GetProject)?OpenAgent&” + pnum;

popupWindow = window.open (

url,“displayWindow”,“scrollbars=no,menubar=yes,width=600,height=475,dependent=no” )

href = popupWindow

Thank you in advance.

Subject: window.open - multiple briowser windows

I think your problem is “displayWindow”. This is the name of the window. When you click the link in Form B, Form C will open in a window named “displayWindow” which is the current window.

Subject: RE: window.open - multiple briowser windows

Thanks, that worked, must have looked at that parameter so much, it just didn’t click. :wink:

Subject: RE: window.open - multiple briowser windows

I’ve been down that same road!

Glad I was able to help.