PDA

View Full Version : Urgent help pls: How to make a mature content Gateway??



som
12-29-2009, 06:11 AM
Hi, I have advertiser adbrite, and they are pressuring me to create a mature content gateway.
Do you know how on some porn sites it has "click here if you are 18 and older to proceed" and "Click Here to exit if you are not over 18" (redtube.com has an example)
I have figured out the easiest way for me to do this is:

when a user clicks on a link to mature content, they are redirected to the mature content gateway.
the gateway will have options:
"Continue" and "Exit"
Continue will link them to the original Mature Content URL, while Exit will reffer them to the home page.
How would I do this?

som
12-29-2009, 07:02 AM
Sorry if I was not clear.
lets say this text below links to mature content.
EXAMPLE TEXT
somebody clicks on it, then they are forwarded to a page like this:
http://www.sexgirlsibiza.com/en/
(this is a mature content gateway)
how would I make a script so that if they click on "enter" they would
then be forwarded to mature content, but if they click on exit they are forwarded back to google.com?

chunzai
12-29-2009, 07:36 AM
hi,
i though it would be a 2 simple anchor that redirect user to any page you like to in the page?



<a href="www.google.com" name="under18" id="under18" ><img .... > </a>
<a href="youweb.com" name="mature" id="mature" ><img .... > </a>


Hope this could help..

Philip M
12-29-2009, 08:55 AM
<a href="#" onclick = "query()">Go to porn site</a>

<script type = "text/javascript">
function query() {
var c = confirm("Are you sure that you are old enough and sad enough to look at this filth?");
if (c) {window.location = "http://www.pornsite.com"}
else {window.location = "http://www.google.com"}
}

</script>


There are many posts on the internet which strongly advise avoiding Adbrite like the plague.

som
12-29-2009, 09:55 AM
thanks both of you!
also, what should I use instead of adbrite Phillip M ?