GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Exit window script problem (https://gfy.com/showthread.php?t=192702)

HighRoller 11-01-2003 05:28 PM

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 11-01-2003 05:30 PM

I have the script tags in there it didn't post

Juicy D. Links 11-01-2003 05:30 PM

you are missing a few {

and your } are in bad postions

and some of your { should really be }

Mr Pheer 11-01-2003 05:31 PM

you put the onclick="exit=false" in the href and not in the body tag right?

Mr Pheer 11-01-2003 05:33 PM

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

HighRoller 11-01-2003 05:38 PM

I did put the last part in body tags


All times are GMT -7. The time now is 07:17 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123