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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Keeping pop-up windows on top

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi-

I am coding a website in which I've got links from my menu opening into pop-up windows. BUT, I would like to be able to keep the pop-up window on top so when users select another command from the menu, it will go into the pop-up window sitting on top. Does anyone know of any code that will enable me to do this?

Thanks-
 
you can use showModelessDialog in IE, otherwise you'll have to use onblur() = this.focus() yin the body of the popup, this, though will not allow interaction with the page below... i think ns has an always raised attribute for popups , though. adam@aauser.com
 
you can write a function which can handle the popups for you as follows:

function jPopUp()
{
contactWin=open('any url','name of pop up window ,'width=500,height=500');

contactWin.focus();
return;
}

call this func on click of the link.

Hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top