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 11-01-2003, 05:28 PM   #1
HighRoller
Confirmed User
 
Join Date: Feb 2003
Location: MN
Posts: 1,037
Exit window script problem

I must have changed something, this use to work, and now it doesn't, what am I doing wrong?


<hahahahahahahaha
var exit = true;
function leave() {

if (exit) {

window.open('http://www.url.com');

}

}
</hahahahahahahaha








onUnload="leave()" onclick="exit=false">
HighRoller is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-01-2003, 05:30 PM   #2
HighRoller
Confirmed User
 
Join Date: Feb 2003
Location: MN
Posts: 1,037
I have the script tags in there it didn't post
HighRoller is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-01-2003, 05:30 PM   #3
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
you are missing a few {

and your } are in bad postions

and some of your { should really be }
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-01-2003, 05:31 PM   #4
Mr Pheer
Confirmed User
 
Industry Role:
Join Date: Dec 2002
Posts: 20,887
you put the onclick="exit=false" in the href and not in the body tag right?
Mr Pheer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-01-2003, 05:33 PM   #5
Mr Pheer
Confirmed User
 
Industry Role:
Join Date: Dec 2002
Posts: 20,887
var exit = true;
function playo() {
if (exit) {
window.open('http://www.getfreepassword.com');
}
}

dont forget the j a v a tags that go before and after
Mr Pheer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-01-2003, 05:38 PM   #6
HighRoller
Confirmed User
 
Join Date: Feb 2003
Location: MN
Posts: 1,037
I did put the last part in body tags
HighRoller 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.