|
|
|
||||
|
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 |
|
Confirmed User
Join Date: Mar 2002
Location: Hawai'i
Posts: 2,612
|
Javascript question
Let's say I have three sites: A, B, and C. How can I make it so that if a user comes to site A via some other site (such as a TGP or something) that when he leaves, he'll go to either site B or C? If the user goes directly from a TGP or something to site B, then when he leaves he will be sent to site A or C, etc.
So basically, I'm looking for a javascript where it will launch a full page exit console (regular browser window) to one of two sites. Anyone know how this can be done?
__________________
<font color="#FFFFFF" size="2" face="Verdana">This thread will self-destruct in 5 seconds.</font><font color="#FFFFFF" face="Verdana"><br> <br> <font size="1">In the meantime, consider hosting with <a href="http://www.choopa.com"><font color="#00FF00">Choopa</font></a> -- The only provider with 9 x 1000mbps Transit Redundancy</font></font> |
|
|
|
|
|
#2 |
|
Confirmed User
Join Date: Feb 2002
Location: New Jersey
Posts: 1,401
|
I bought a script called Ipopup that does just that... and I love it. I use it on pretty much all my sites to swish the traffic around.
I bought it here: http://www.scripts24.com/ipopup/index.php hope that helps. - PornAddict |
|
|
|
|
|
#3 |
|
Confirmed User
Join Date: Mar 2002
Location: Hawai'i
Posts: 2,612
|
That seems to be kinda overkill for what I am looking for.
__________________
<font color="#FFFFFF" size="2" face="Verdana">This thread will self-destruct in 5 seconds.</font><font color="#FFFFFF" face="Verdana"><br> <br> <font size="1">In the meantime, consider hosting with <a href="http://www.choopa.com"><font color="#00FF00">Choopa</font></a> -- The only provider with 9 x 1000mbps Transit Redundancy</font></font> |
|
|
|
|
|
#4 |
|
Confirmed User
Join Date: May 2002
Location: The Netherlands
Posts: 2,747
|
I don't get it, you want to pop-up site B and C on site A, site A and C on site B, and site A and B on site C. Isn't that like putting up the same JavaScript on every site but changing the URL's?
If you have only three sites, why is it a problem? Seb. |
|
|
|
|
|
#5 |
|
Confirmed User
Join Date: Mar 2002
Location: Hawai'i
Posts: 2,612
|
If a surfer goes to site A, but then exits, I want EITHER site B OR C to pop up -- not both.
__________________
<font color="#FFFFFF" size="2" face="Verdana">This thread will self-destruct in 5 seconds.</font><font color="#FFFFFF" face="Verdana"><br> <br> <font size="1">In the meantime, consider hosting with <a href="http://www.choopa.com"><font color="#00FF00">Choopa</font></a> -- The only provider with 9 x 1000mbps Transit Redundancy</font></font> |
|
|
|
|
|
#6 | |
|
Confirmed User
Industry Role:
Join Date: Apr 2002
Posts: 231
|
Quote:
Code:
sites = Array();
sites[0]="http://server1.com/";
sites[1]="http://server2.com/";
function popExit(){
window.open(sites[Math.round(Math.random()*(sites.length-1))]);
}
|
|
|
|
|
|
|
#7 |
|
Confirmed User
Join Date: Mar 2002
Location: Hawai'i
Posts: 2,612
|
spanky - can you contact me on ICQ? 2929686. Thanks
__________________
<font color="#FFFFFF" size="2" face="Verdana">This thread will self-destruct in 5 seconds.</font><font color="#FFFFFF" face="Verdana"><br> <br> <font size="1">In the meantime, consider hosting with <a href="http://www.choopa.com"><font color="#00FF00">Choopa</font></a> -- The only provider with 9 x 1000mbps Transit Redundancy</font></font> |
|
|
|