![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
So Fucking Banned
Join Date: Jan 2005
Posts: 3,716
|
Easy Javascript Question
How do I make a new page open up behind the current page?
For example, index.html is loaded and sponsor.html loads behind it or when index.html is closed sponsor.html opens up.. Thanks for any help. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Sep 2004
Location: Montrealquebecanada
Posts: 5,500
|
Put this on the parent page:
<a href="#" onclick="window.open('popupchildthing','kid','resi zable=no,scrollbars=no,width=250,height=148,toolba r=no');">click</a> Then put this in the child: <a href="#" onclick="window.opener.location.href='whatever';"> change parent</a> I don't know if you want the pop up to close or not but there's a body tag Unload script i used in the parent so it shuts the child each time the page changes... nav by popup lol
__________________
![]() YOU Are Industry News! Press Releases: pr[at]payoutmag.com Facebook: Payout Magazine! Facebook: MIKEB! ICQ: 248843947 Skype: Mediaguy1 |
![]() |
![]() ![]() ![]() ![]() ![]() |