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

Keep pop-up in front until closed

Status
Not open for further replies.

Gramps29

Programmer
Mar 11, 2001
1
CA
I'm working on a project for which my client wants a centered webpage with photos that pop-up in a smaller window centered on top. The problem is that if the user clicks on the visible edges of the parent window, the photo window dissapears behind and is 'lost'. Is there a way to keep the pop-up photo window in front until the user closes it?
 
In the body tag of your pop-up window,

onBlur="self.focus()"

Should work fine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top