Click to See Complete Forum and Search --> : pop-under window


anarchist
07-24-2003, 07:54 AM
I'm wondering how pup-under windows are made, whats done different to a pop-up?

I'm asking this because the pages I make use popups to run some code on our server, and then close themselves, this can be quite annoying as a window opens then before you can see its contents closes, so I was thinking of opening the window behind the current one so theyre not as obvious

kdcgrohl
07-24-2003, 09:39 AM
a popunder is just a popup, with the addition of a window.focus() after the popup code, that way, the parent window is immediatly moved back in front of the popup.

anarchist
07-24-2003, 10:27 AM
thanks, I thought it would be something as simple as that but wanted to make sure