PDA

View Full Version : Is it possible?


Rod
12-31-2000, 07:35 PM
Hi,
I wanna know if it's possible to make an exit ONLY if the visitor close my site, not if he browse it?

Is there a code for that?

Thanks in advance,
Rod

sexxring
12-31-2000, 07:42 PM
The only way I know is to make your site
in a frame. have a invisable frame of 1%
and your main page at 99% they wont even
know they are in a frame http://adultwebmasterinfo.com/ubb/smile.gif
Put the exit code on the top frame that is
1% and it will only exit when they
leave or close your site.

Rod
12-31-2000, 09:52 PM
They will know, 'cause when they will browse my site, the URL will never change!

sexxring
12-31-2000, 10:33 PM
thats the only thing I know of.

Jimbo
12-31-2000, 10:50 PM
with a java script like this
<script language="JavaScript">
var go=true;
function exit() {
if(go) {
realtop=window.open('http://www.realtop69.com/','realtop',' ');
}
}
</script>

and you add <BASE ONCLICK="go=false"> between <HEAD> and </HEAD>

not sure if syntaxe is right

Regards
Jimbo

Jimbo
12-31-2000, 10:52 PM
of course with onunload="exit()" in the <BODY> tag

Rod
01-01-2001, 01:17 AM
Thanks a lot Jimbo http://adultwebmasterinfo.com/ubb/smile.gif
The only thing I dislike with this code is when I hit the back button, it pops the code http://adultwebmasterinfo.com/ubb/frown.gif

But it still pretty cool http://adultwebmasterinfo.com/ubb/smile.gif
Thanks!

Jimbo
01-01-2001, 11:59 AM
my pleasure http://adultwebmasterinfo.com/ubb/smile.gif

redbomb
01-02-2001, 02:17 PM
Rod, why do you still not contact me?

I bought the domain for our site, never recieved the check for half from you. Then I spent weeks coding the database/interface, and then you just ignore me?

I don't get it.