|
|
|
|
|
|
![]() |
#6 |
That which does not kill us, will try, try again.
|
This is about as simple as it gets.
Put this at the top of the page where you want the warning to appear. Code:
<script language="javascript"> var agePrompt=prompt("You must be over 18 years of age to enter this ADULTS ONLY website. Please type just the number of your age below...") if (agePrompt>=18) document.location="http://www.letswatchsomeporn.com/"; else { alert('Sorry, too young, we can not let you in!') document.location="http://www.google.com/"; } </script>
__________________
"If you're happy and you know it, think again." -- Guru Pitka Last edited by Simon; 2009-10-03 at 07:03 AM.. |
![]() |
![]() |
|
|