Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple Windows Open at Same Time

Status
Not open for further replies.

tnsbuff

Technical User
Jan 23, 2002
216
US
Hi,

Can someone tell me how I can keep more than one popup window open on top of the parent window? I have three links from the parent window that open smaller popups. Right now, they always go behind the parent window when you click one of the other links.

Thanks a bunch...
 
if u always want to keep a popup window on top of the parent use showModalDialog()

otherwise:
win=window.open....

win.focus()
 
Hmmm, showModalDialog() doesn't allow you to open another window/link, so I don't think that's what I'm looking for, and using win.focus() only allow the most recently clicked on link to be on top of the parent window. :-\

Am I missing something?
 
you'll have to open them with seperate assignments.

win1=window.open....

win2=window.open....

win3=window.open...

try{win1.focus(); win2.focus(); win3.focus();}
catch(e){;}
 
Okay, I guess I need to call separate functions for each link?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top