How to not make people see what the link is pointing to!

Discussion in 'Site & Server Administration' started by Klaas Koopman, May 22, 2006.

  1. #1
    Hey All,

    I am working on a few affiliate related websites, and want to know how can I make it like if people hover a link that they cannot see where the link is going to?

    Thanks in advance.

    Kind Regards,


    Klaas Koopman
     
    Klaas Koopman, May 22, 2006 IP
  2. donteatchicken

    donteatchicken Well-Known Member

    Messages:
    432
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    118
  3. dct

    dct Finder of cool gadgets

    Messages:
    3,132
    Likes Received:
    328
    Best Answers:
    0
    Trophy Points:
    230
    #3
    
    <a href="http:\\someurl" 
     onmouseover="window.status='http://www.someURL.com';
    return true;" 
    onmouseout="window.status=' ';return true;" 
    target="_blank">Some URL</a>
    
    Code (markup):
    This will display www someURL.com in IEs statusbar and it blank in FF.
     
    dct, May 22, 2006 IP
    donteatchicken likes this.
  4. donteatchicken

    donteatchicken Well-Known Member

    Messages:
    432
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    118
    #4

    Nice! No Head Script
     
    donteatchicken, May 22, 2006 IP
  5. Klaas Koopman

    Klaas Koopman Well-Known Member

    Messages:
    895
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    128
    #5
    Great Thanks guy!
     
    Klaas Koopman, May 22, 2006 IP
  6. TechnoGeek

    TechnoGeek Peon

    Messages:
    258
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Hello, Klass Koopman.
    You could also choose to display some significant message in the status bar instead of a fake URL. Something like "Go buy this new product." Using JavaScript as shown you can display anything you want in the status bar.
    Cheers.
     
    TechnoGeek, May 23, 2006 IP
  7. Klaas Koopman

    Klaas Koopman Well-Known Member

    Messages:
    895
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    128
    #7
    Yeah I just noticed TechnoGeek, I will look at the code and see how I could use this to my benefit, thank you!
     
    Klaas Koopman, May 24, 2006 IP
  8. Respiro

    Respiro Peon

    Messages:
    1,390
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Really useful code! Thank you!
     
    Respiro, May 24, 2006 IP
  9. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #9
    You do understand that it is impolite to mess with the functionality of a person's browser, right? Some people even consider that a website that hides a link address is being dishonest. Something to think about.

    cheers,

    gary
     
    kk5st, May 24, 2006 IP