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.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-06-2005, 04:41 AM   #1
H.I.G
Confirmed User
 
Join Date: Mar 2004
Location: Crazy California
Posts: 926
what's the HTML code to load a specific URL on closing a window

Hi Guys,

What's the HTML code to load a specific URL on closing a browser window. I am not talking about a pop-up but how do you load a different URL when a page is closed.

What's the html code you need to insert to a page to get this right??

Ex: If I close this GFY window how do I get a new windows to open up with www.google.com

thanks..
H.I.G is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-06-2005, 04:46 AM   #2
Roald
SecretFriends.com
 
Roald's Avatar
 
Industry Role:
Join Date: May 2001
Location: IMC Headquarters
Posts: 27,888
so you do mean an exit popup?
__________________


WE ARE BUYING PAY SITES! CONTACT ME



ClubSweethearts | ManUpFilms | SinfulXXX | HOT * AdultPrime * HOT


Paying webmasters since 1996! Contact: r.riepen @ sansylgroup.com | telegram: roaldr
Roald is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-06-2005, 08:08 AM   #3
rowan
Too lazy to set a custom title
 
Join Date: Mar 2002
Location: Australia
Posts: 17,393
Yeah, how can it not be a popup when the window has closed?
rowan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-06-2005, 08:11 AM   #4
PrivateIvy
Confirmed User
 
Industry Role:
Join Date: Oct 2003
Location: North Carolina
Posts: 4,257
You put this in your header:

<script language="JavaScript">
<!--
var exit=true;
function xit()
{
if (exit)
open("http://www.blah blah blah .com","copy");
}
//-->
</script>

but you need to add onclick="exit=false" to any links on the page that keep your visitor on your site and you don't want the window opened




Ivy
PrivateIvy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-06-2005, 09:10 AM   #5
H.I.G
Confirmed User
 
Join Date: Mar 2004
Location: Crazy California
Posts: 926
thanks Ivy
H.I.G is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.