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 08-12-2003, 12:19 PM   #1
eisbaer
Confirmed User
 
Join Date: Aug 2002
Location: Switzerland, France...
Posts: 184
Script question for the Guru's

Hi,

on a new site i will open a Popup when the surfer leaves my Site.

therefore i have this little script:


var console=true;
function exit(){
var url2='http://www.vanessa.biz/links/toplist/links.html';
if (console)
open(url2, 'exit_console');
}



it activates on the pciture/banner on the top of the site with
onunload="exit()"

if the surfer clicks on a permitted link that moves him into the site i have linked these links with:

onClick="console=false"

this works perfectly fine...

BUT, when the surfer clicks the Back Button in the browser to go back on page the popup opens up also.

Do you have any solution for that? Or if there is absolutely none a better possibility for it. (how it would work fine with frames I know, but I won't use them)

you can see this on:

http://www.vanessa.biz

Thanks a lot

eisbaer
eisbaer 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.