Results 1 to 4 of 4

Thread: Help with disable links

  1. #1
    Join Date
    Dec 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Help with disable links

    Hello i'm new ...
    Anyway i need a help 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
    ( sorry for my bad english >< )
    THANK YOU !

  2. #2
    Join Date
    Dec 2008
    Location
    Portsmouth, UK
    Posts
    1,775
    Thanks
    2
    Thanked 411 Times in 406 Posts

    Default

    the second link will not link

    Code:
    <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
    Vic
    God Loves You and will never love you less.
    http://www.vicsjavascripts.org/Home.htm
    If my post has been useful please donate to http://www.operationsmile.org.uk/

  3. #3
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 517 Times in 503 Posts
    Blog Entries
    5

    Default

    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.
    Last edited by traq; 12-19-2012 at 03:51 AM.

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,162
    Thanks
    263
    Thanked 690 Times in 678 Posts

    Default

    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.
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Similar Threads

  1. disable source to links
    By macombwebsite in forum HTML
    Replies: 11
    Last Post: 01-03-2010, 06:12 PM
  2. Replies: 0
    Last Post: 11-10-2009, 08:53 PM
  3. Replies: 2
    Last Post: 07-02-2009, 10:49 PM
  4. enable/disable links
    By Simply Me in forum JavaScript
    Replies: 32
    Last Post: 03-05-2008, 11:17 PM
  5. Disable / Enable Links On A Page
    By 7079 in forum JavaScript
    Replies: 4
    Last Post: 02-02-2008, 04:20 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •