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)
-   -   delayed exit pop-up script needed (https://gfy.com/showthread.php?t=72202)

newbie 08-14-2002 08:07 PM

delayed exit pop-up script needed
 
i need a script that can be set to pop after a while rather than straight away

would even be better if it only popped when the browser window has been closed

thanks in advance

phogirl69 08-14-2002 08:10 PM

PHP Code:

<SCRIPT language="JavaScript"
<!-- 
setTimeout("window.open('<" target=newhttp://www.whatever.com>;')",6000); 
// --> 
</SCRIPT> 



adjust according to your needs
6000 is for milliseconds

newbie 08-14-2002 08:17 PM

sorry but that one's not happening

seams to have an error in it

Lane 08-14-2002 08:25 PM

i think that code phogirl gave openes the popup only while the page is open

delayed exit popups are nasty and they involve some dirty js tricks.. i dont even know if it works with the latest IE version.

as a friendly advice, i dont recommed you using them..
if you wanna do it to pull some dirty tricks on the surfers, then go fuck yourself..

Nbritte 08-14-2002 08:34 PM

actually the only way I know of doing it is to open a window on exit and make it a pop behind or onblur so it is never in front of other windows then do the delay pop up with that window. but they only tend to piss people off. I did see on that was funny pop up a small window that moves in a counter clockwise direction on the screen untill it completes one circle it really gets you attention and is a pain to close until it stops lol

Brian


All times are GMT -7. The time now is 01:51 PM.

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