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!

pictures are poping up in an existing window...

Status
Not open for further replies.

fiuPikeOY

Programmer
Jun 14, 2004
143
US
Hello,

I have a page with a series of thumnails. Each is supposed to launch a pop up with that picture but larger. The problem is that the first one works fine, but when you click on any other thumbnail, the picture is loaded on the pre-existing pop-up which is now behind the main page, and the user can't realize that is there. Is there a way of always bringing that pop-up to the front?

Thanks
 
if you opened it this way...
Code:
win=window.open('...','...');
then you can say
Code:
win=window.open('...','...');
win.focus()
just put the focus in after you've written everything to the window that you want to write to it.
Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top