Problem with Hiding URL bar in IE (works with Firefox)

Discussion in 'HTML & Website Design' started by Kestal, Nov 7, 2007.

  1. #1
    Ive run into a problem. I want to hide the information on the url/status bar (I believe thats what that is called) at the bottom corner of the screen in the IE window on certain links. The code that is given:
    <script>
    var statusmsg=""
    
    function hidestatus(){
    window.status=statusmsg
    return true
    }
    </script>
    Code (markup):
    and then in the body:
    <a class = "Special" href = "" onMouseover="return hidestatus()">Visit</A>
    Code (markup):
    This allowed me to hide all links hovering a text. However, now I want to hide
    a link during an image hover. It works in Firefox, however not in IE. is there any way around this?

    Thank you ahead of time for your help :)
     
    Kestal, Nov 7, 2007 IP
  2. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You do understand that this is bad for usability reasons as well as being very easy to circumvent, right?
     
    Dan Schulz, Nov 8, 2007 IP
  3. Kestal

    Kestal Peon

    Messages:
    714
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I guess your right.. my hope was to use it on a banner ad with a referral link. On that note, what would you think about masking it. Creating a script for each link that would lead to the correct URL but remove my (or my clients) referral link at the end.

    I take it though, that with IE's default security setting, there is no other way to do this?
     
    Kestal, Nov 8, 2007 IP
  4. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I wouldn't, but if I did, I'd probably look at a server-side programming language to parse the referral link into something else. Just make sure you don't violate the affiliate provider's TOS though if you do.
     
    Dan Schulz, Nov 8, 2007 IP
  5. SEOWOES

    SEOWOES Peon

    Messages:
    60
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I would say its risky to try and mask affiliate links - its most likely against the TOS for the ad provider.
     
    SEOWOES, Nov 9, 2007 IP
  6. Kestal

    Kestal Peon

    Messages:
    714
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Ahh, thanks for the quick replies. Noticed a few sites that had that so I figured I would ask. -_-;; Note to self: Stay away. >_>
     
    Kestal, Nov 9, 2007 IP