You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Hi,
Does anyone know how to crate a pop up window that askes if someone is over 18?
I want to put some products on my website that are a bit raunchy and want to make sure that who ever clicks on that category has confirmed they are over 18??
any ideas?
ive searched through the threads
thanks
victoria
Offline
You need to look into the javascript confirm function and have this fire off when a user clicks on one of your raunchy page links or perhaps as an onload event for your raunchy pages.
Offline
hmm, the meta tags is a good idea!
the rest is a bit over my head wouldn't know where to start to be honest.
thanks for reply!
victoria
Offline
Hi,
something like this for a simple popup
<html><head><title>Title</title></head><body> <p><a href="mypage.php" onclick="window.open(this.href,'MyPage','height=300,width=550,menubar,resizable,scrollbars');return false;" rel="external">My Page</a></p> </body></html>
Cheers,
Bruce.
Offline
Hi Bruce,
thanks for the coding. I am a bit thick though and wouldnt know where to put it :S bit frightened of messing something up. Ive had a search for javascript info but don't have a clue.
thanks victoria
Offline
This would be a cheap mod to write. Please PM me if you want a quote or use the Kryptronic custom shop.
Offline