Advanced Search

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,533
    Thanks
    2
    Thanked 350 Times in 346 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.uk/
    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,125
    Thanks
    59
    Thanked 435 Times in 424 Posts
    Blog Entries
    7

    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.
    Adrian ~ facebook | gist/github

    ['66.215.156.37','208.75.149.97'] // ip,ip array!
    "Take that sticker *off* your hat; you look stupid" --Wil Wheaton

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    11,783
    Thanks
    223
    Thanked 657 Times in 645 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>| Deutsch | italiano | español | português | català | un peu de français | Ninasoma Kiswahili | 日本語の学生でした。| درست العربية

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
  •