Dynadot .com transfer sale, only $10.12 with coupon code DYNA12, available while supplies last, ends October 31, 2026.

Please help me with my html script. Can this be done?

SpaceshipSpaceship
SpaceshipSpaceship
Spacemail by SpaceshipSpacemail by Spaceship
Watch

X_X_ROB_X_X

Account Closed
Impact
0
I have a full sized popunder window for a simple redirect script. I use this to show off other sites in development when taking them to the main one.

Problem is I want multiple popunders instead of just one. Is it possible to have multiple popunders load in a series underneath the main page?

Can someone please show me what needs to be changed in this example script for this to happen please? Thank you very much.



<html>
<head>

<SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'>
<!--
var popupWindow=null;
function popup(mypage,myname,w,h,pos,infocus){

if (pos == 'random')
{LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
else
{LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
settings='width='+ w + ',height='+ h + ',top=' + TopPosition + ',left=' + LeftPosition + ',scrollbars=yes,location=yes,directories=yes,status=yes,menubar=yes,toolbar=yes,resizable=yes';popupWindow=window.open('',myname,settings);
if(infocus=='front'){popupWindow.focus();popupWindow.location=mypage;}
if(infocus=='back'){popupWindow.blur();popupWindow.location=mypage;popupWindow.blur();}

}
// -->
</script>



<meta http-equiv="REFRESH" content="0;url=http://www.main-page.com">
</HEAD>
<body onLoad="popup('http://www.pop-under.html','pagename','999','999','center','back');">



</body>
</HTML>
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
This isn't a direct answer to your question, but if I went to your website, and it not only forwarded me to a different one, but also popupped/under MULTIPLE windows. I would be very quickly leaving it again.

Just my opinion, :hehe:

Dan.
 
0
Close
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
CryptoExchange.com
Domain Recover

NamePros updates

Quick replies: search, your most used replies, and more on every post
Quick replies are easier to find and use now. The quick reply menu has a search box. Type a few letters to find the reply you want. A...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back