Welcome to WebmasterWorld Guest from

Forum Moderators: buckworks & eWhisper & skibum

Message Too Old, No Replies

popup(back) window

popup window in the background



2:09 pm on Aug 28, 2003 (gmt 0)

10+ Year Member

I would like to have -->a popup window loaded in the _background_<-- when my webpage loads.
By doing this I could have another page loading there while the "front/first" page is loaded.

I have been searching everywhere for this but it seems like I'm searching on the wrong things - or isn't it possible?

To make it even clearer, I want the focus to be on the big page and the popup window in the background (no focus).

Can someone help me with this? Would really appreciate it!
Thanks for taking time reading my question...


2:21 pm on Aug 28, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

I've never done one, but it's called a pop-under. Adwords disallows them just like popups.


2:25 pm on Aug 28, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Hi turbo, this is easier than might be expected. :)

In the head of the page (<head>):

<script type="text/javascript">
function pop() {
// open a popup
// focus this window again

Then in the body of the page (<body>):

<script type="text/javascript">
// get around some popup blockers

Hope that helps


Actually, the second script block can be omitted and just use the onload attribute of the body tag like so:

<body onload="window.setTimeout('pop()',50);">

Featured Threads

Hot Threads This Week

Hot Threads This Month