Forum Moderators: open

Message Too Old, No Replies

Pop under popping way under

         

stcrim

1:58 am on Mar 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



We have a pop under that's opened from a small window that pops up and self closes.

The problem is unlike a normal pop under this window pops behind everything that's open and may never be found.

Is there some way to guarantee it will be behind only the first browser window rather than behind everything?

Thanks
-s-

tedster

3:36 am on Mar 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



As far as I know (and I've looked pretty hard over the years), there is no way to control the stacking order that a browser uses for multiple windows. That logic just isn't exposed.

stcrim

3:03 pm on Mar 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



With a normal pop-under it's always behind the browser that activated it. In this case a a small window opens and from the the main pop-under comes up and the small window closes.

For some reason this causes the pop-under to end up at the bottom of the stack.

The window that activated the pop-under is gone leaving an orphan pop-under.

Is there anyway to get the window that activated the small window to adopt the pop-under.

Like a focus or Blur thing

-s-

PCInk

3:09 pm on Mar 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I believe that you may be popping up a window and then sending it to the back of the stack. Pop-unders do not work this way.

The best way is to pop-up a window (so it will be on top) and then put focus back into the main window (or pop-it up, however this is done) so that it comes back to the front.

What I am trying to say is: The position of the main working window should be adjusted, the pop-under should not be touched once opened.

stcrim

5:06 pm on Mar 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is there a way to use this:

onBlur="window.focus()"

and still fill out a form on the page?

-s-