Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

a javascript focus question

6:05 pm on Jan 22, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 4, 2000
votes: 0

We have a pop-behind on a web site - another company has a pop-in-front on the same site. When the P.I.F is closed it calls the pop-behind forward.

If we had access to the P.I.F. we could just add an onload event 'window.opener.focus' But we don't have access to the front popper.

Is there anything we can add to the pop-behind to keep it behind?


7:40 am on Jan 23, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
votes: 0

I've been thinking about this since you posted it -- with no luck. From my experiments a while ago, trying to control the stacking order of windows, with the exception of the one that just loaded, is a rats nest of trouble.

From what I remember, different browsers act differently. Then there's the always-present potential of creating infinite loops in the javascript (a great way to crash a browser).

Maybe someone else has an insight I'm missing.