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=false on back? (need coding help hehe) (https://gfy.com/showthread.php?t=318941)

A C 06-28-2004 10:39 AM

exit=false on back? (need coding help hehe)
 
I want to make it so that if someone is on my site and they click the back button it wont pop a console on them, but if they close the site or go to another site outside of mine then i want to pop it.

All you programmers help me out :)

Thanks

AC

WiredGuy 06-28-2004 10:39 AM

You need to put frames in that case and put the exit code on the top level frame.

WG

A C 06-28-2004 10:41 AM

Quote:

Originally posted by WiredGuy
You need to put frames in that case and put the exit code on the top level frame.

WG

Can i still do onclick exit=false then on the main page? (say they wanna join, i dont really wanna pop it on my future members, maybe like target=top onclick exit=false?

Thanks

AC

WiredGuy 06-28-2004 10:48 AM

Quote:

Originally posted by A C
Can i still do onclick exit=false then on the main page? (say they wanna join, i dont really wanna pop it on my future members, maybe like target=top onclick exit=false?

Thanks

AC


When someone clicks to your join page you can do target=top and onclick exit=false such that they won't get the frames. You might need to make it document.top.exit=false or something like that to make sure you have the right scope though. But if someone goes to your join page and then leaves it, why not put a popup?

WG

A C 06-28-2004 02:17 PM

Quote:

Originally posted by WiredGuy
When someone clicks to your join page you can do target=top and onclick exit=false such that they won't get the frames. You might need to make it document.top.exit=false or something like that to make sure you have the right scope though. But if someone goes to your join page and then leaves it, why not put a popup?

WG

I ment like if they put in thier info and hit submit (potential member) so I guess i can just do onsubmit target etc like you said :)

simple solutions is often the best hehe

AC

Basic_man 06-28-2004 02:25 PM

try to search google about that!

grumpy 06-28-2004 03:00 PM

goto www.bimbolinks.com and click 10 times on a link. See wht happens and copy the code. When you see the ad page and after that the other page ...press back then, it wont show the add page. Look at the scripts in both pages (also the ad page ) Hope this helps.


All times are GMT -7. The time now is 12:47 AM.

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