Forum Moderators: open

Message Too Old, No Replies

Require three browser windows simultaneously open

need scripts to keep windows open

         

joanna

6:30 pm on Apr 12, 2004 (gmt 0)

10+ Year Member



Hello,
Here is the situation:
My application requires a single browser window. I want users to be able to open the user guide via a link on the site menu, and keep that second browser window open when they are using the application so they can quickly reference it. However, there are two other window.open functions already, and when you open one, then open the other, the second occupies the window of the first one. The third one does the same thing. In other words I can't seem to open more than one window at a time. How can I allow the user to have a total of three windows open at once? One is the app, two is the user guide, and three is either of the current window.open functions.
Any help appreciated! Thanks much!

Birdman

6:33 pm on Apr 12, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Can we see the three window.open lines?

joanna

7:17 pm on Apr 12, 2004 (gmt 0)

10+ Year Member



Here is an example of the window.open script:

<a class="clsMenuItemIE1" href="#" onClick="window.open('/web_access/inc/goto.asp','all','WIDTH=580,HEIGHT=440,scrollbars=no,resizable=no,left=100,top=50,screenx=100,screeny=50,focus()');return false">

Birdman

7:33 pm on Apr 12, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Ok, I believe the second parameter in the open() function is for the window name. So, if all three say 'all', change them to be unique.

window.open('/web_access/inc/goto.asp','all_1',...

window.open('/another.url','all_2',...

window.open('/yetanother.url','all_3',...

joanna

8:03 pm on Apr 12, 2004 (gmt 0)

10+ Year Member



that worked perfectly!thanks birdman.