How to hide the link below the browser?

Discussion in 'JavaScript' started by jehzlau, May 5, 2007.

  1. #1
    How to hide the link below the browser? I don't know where to post, but I think javascript is used to hide the links below the browser... for example I point my mouse in the USER CP.. a link below will appear that USER CPs URL is http://forums.digitalpoint.com/usercp.php

    I just want to reply it with the word User CP.. is it possible? then the link is hidden? Just like what the SoThink DHTML Menu does...?
     
    jehzlau, May 5, 2007 IP
  2. sky22

    sky22 Guest

    Messages:
    59
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    sky22, May 5, 2007 IP
  3. jehzlau

    jehzlau Active Member

    Messages:
    301
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    73
    #3
    yep... just replace it with a custom text... :) for example i have a link at http://google.com, the one the will appear in the status bar is just Google

    That's all :)

    Thanks for the reply sky22, but the script that you have posted only hides, but doesn't replace the URL in the status bar :(
     
    jehzlau, May 7, 2007 IP
  4. ajsa52

    ajsa52 Well-Known Member

    Messages:
    3,426
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    160
    #4
    Microsoft IE7 took out javascript window.status changes in order to prevent phishing/address spoofing. You need to change your browser options to change the status bar via Javascript on IE7.
     
    ajsa52, May 8, 2007 IP
  5. ruby

    ruby Well-Known Member

    Messages:
    1,854
    Likes Received:
    40
    Best Answers:
    1
    Trophy Points:
    125
    #5


    IE7 is ghey.

    :D
     
    ruby, May 9, 2007 IP
  6. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #6
    The way around:
    
    <a href="http://www.google.com" onclick="window.location='http://www.yahoo.com'; return false;">Google</a>
    
    HTML:
     
    nico_swd, May 9, 2007 IP
  7. jehzlau

    jehzlau Active Member

    Messages:
    301
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    73
    #7
    whoawW! Thanks for that info :).. i don't know that ^_^

    But it still works with SoThink DHTML Menu.. if you create a menu there, you will have an option to replace the link in the status bar with a short name.. for example my home page in the status bar is http://mywebsite.com/index.php, it will be replaced by My Home Page in the status bar... I think it is still possible in IE7, I just don't know how :(
     
    jehzlau, May 9, 2007 IP
  8. jehzlau

    jehzlau Active Member

    Messages:
    301
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    73
    #8
    As you can see, as I point my mouse in the homepage, the status bar will just show the word Home Page, not the long URL.

    A Screenshot Sample:
    http://dostscholars.com/images/IE7poito.jpg

    But I made this with DHTML menu, what I want is a javascript to do the samething without the SoThink DHTML menu.. how can I do that javascript gurus? :(
     
    jehzlau, May 9, 2007 IP