Click on ad befor clicking on link...

They have: 47 posts

Joined: Jul 2004

Hi!
Does any one now abaut a javascript were my visitors need to click on an ad befor the can click on another link. Or when the user clicks on the ad a text becomes visible for the user.

Cincerly
Ben

He has: 1,380 posts

Joined: Feb 2002

You could use javascript to toggle display settings, so initially you could have the text in a like:<div id="hidden">This is hidden text</div> with the stylesheet for that being

#hidden {
display: none;
}
'and then the javascript changing display -> block, making it visible:
document.getElementById('hidden').style.display=="block";
'

Of course you'd have to make that activated by onClick

They have: 222 posts

Joined: Sep 1999

You may want to think a bit about what you're trying to do... Do you really think someone who doesn't want to click on an advertisement is going to just to get to the content of one website? There are millions out there, if one has some annoying ad scheme, I'll just go to another...

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.