Kryptronic Software Support Forum

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.

#1 01-25-2011 15:28:59

victoria@luna-nova.co.uk
Member
Registered: 09-28-2010
Posts: 70

over 18 only warning

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

smile


It's what's inside that counts...

Offline

 

#2 01-25-2011 19:06:23

vbsaltydog
Member
From: Florida
Registered: 05-02-2005
Posts: 947
Website

Re: over 18 only warning

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.


Latest CCP 7 XMods Available:


Offline

 

#3 01-25-2011 22:23:15

Graham
Member
Registered: 09-30-2004
Posts: 981
Website

Re: over 18 only warning

You could also include meta tags on the page for "adults only" and "18+" which should trip filters in parental control software.

Offline

 

#4 01-26-2011 06:55:53

victoria@luna-nova.co.uk
Member
Registered: 09-28-2010
Posts: 70

Re: over 18 only warning

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.

sad

thanks for reply!

victoria


It's what's inside that counts...

Offline

 

#5 01-26-2011 11:49:08

west4
Member
From: UK
Registered: 04-16-2008
Posts: 645
Website

Re: over 18 only warning

Hi,

something like this for a simple popup

Code:

<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.


I'd rather have a full bottle in front of me, than a full frontal labotomy.

Offline

 

#6 01-26-2011 14:27:18

victoria@luna-nova.co.uk
Member
Registered: 09-28-2010
Posts: 70

Re: over 18 only warning

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.

sad

thanks victoria


It's what's inside that counts...

Offline

 

#7 01-26-2011 19:29:08

vbsaltydog
Member
From: Florida
Registered: 05-02-2005
Posts: 947
Website

Re: over 18 only warning

This would be a cheap mod to write. Please PM me if you want a quote or use the Kryptronic custom shop.


Latest CCP 7 XMods Available:


Offline

 

Board footer