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 Popups!! >>> Help <<< (https://gfy.com/showthread.php?t=98635)

stanton 01-08-2003 06:17 PM

Exit Popups!! >>> Help <<<
 
Hey, how to make Exit Popup

BUT

which will only come out if the person closed the webpage

without clicking on any of the links


IF he clicked, the popup should not come out!


Thank You :thumbsup

stanton 01-08-2003 06:28 PM

anyone?!.....anyone?!...anyone???

ryph 01-08-2003 06:33 PM

Uhm, Javascript. Have a global variable:

var didHeClick=false;

and then have a function embedded in the anchor tag that sets the variable to true if he does.

Then in the unload function have it check the didHeClick variable, and if he did, just return. If he didnt, give him popup hell!

That's how I'd do it, but wtf do I know.

stanton 01-08-2003 06:34 PM

can you give the whole script please?

i am java dumb

ryph 01-08-2003 06:35 PM

170843358

KRL 01-08-2003 09:27 PM

Ooops


All times are GMT -7. The time now is 07:53 PM.

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