Log in

View Full Version : Help with disable links



kenny blanco
12-17-2012, 09:49 PM
Hello i'm new ...
Anyway i need a help :confused: i don't master JAVASCRIPT yet very well ! :(
My request is , i wanna make some disable links that users can click on them but wont open and same they can be counted !
for example :
There's some websites that post ADS links to click on ... but the links don't open and the owner of the website win money ...
I want to do the same on my website " CLICK AND WIN " postin' some ads to click on and disable the opening of them but they should stay counted as they are clicked ! ( THE VISITORS WILL WIN I WON'T CHEAT THEM ;) )
hope that u understood my idea and pls help :p
( sorry for my bad english >< )
THANK YOU !

vwphillips
12-18-2012, 03:50 PM
the second link will not link


<a href="http://www.vicsjavascripts.org.uk/ ">My Link</a>
<a href="http://www.vicsjavascripts.org.uk/" onclick="return false;" >My Link will not link</a>


all according to how you are counting the return false can be included in your counting function

traq
12-18-2012, 04:11 PM
kenny blanco:

This does not sound legitimate to me. Perhaps I'm misunderstanding what you're trying to accomplish, but I would think that disabling the links for ads on your page would violate your agreement with the advertisers (and/or whoever placed the ads).

I'm going to close this for now.

djr33
12-19-2012, 02:09 AM
If this is due to a language barrier, and judging by your name, you speak Spanish (or Portuguese), I may be able to help if you can post in both languages. However, from what I understand I agree that this request is against the rules.