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='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(attention nudity (no hardcore))
Thanks a lot
eisbaer
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='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(attention nudity (no hardcore))
Thanks a lot
eisbaer