Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6

Thread: Blind Links

  1. #1
    New to the CF scene
    Join Date
    Jan 2003
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Blind Links

    I was wondering if anyone knew how to make a link so that on the bottom of the window is says somethign like "CLICK HERE NOW" instead of "http://www.whatever.com" Thanks in advance for you help.

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    United Kingdom Confused: Often
    Posts
    859
    Thanks
    0
    Thanked 0 Times in 0 Posts
    so it doesnt show the address in the status bar?

    try this:

    <a href="page.html" onmouseover="self.status='CLICK HERE NOW'; return true;" onmouseout="self.status=''; return true;">a link</a>

    redhead

  • #3
    New to the CF scene
    Join Date
    Jan 2003
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    would that html be the same if the link was an image?

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Yep!

    The javascript Redhead suggested handles events from the a element, so yes, it works regardless of the content of the a element, whether it be text or image.
    Note to the side: not everyone is elated by custom messages in the status bar...
    Regards,
    Ronald.
    ronaldvanderwijden.com

  • #5
    Regular Coder
    Join Date
    Jun 2002
    Location
    Ames, IA, USA
    Posts
    373
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Some screen readers, for example, will break from reading the page content, read what's on the status bar, and then go back to the page. Some folks might appreciate having that blanked out (though, of course, they can just turn the darn thing off ...)
    Need more emoticons?
    Visit Catman's Private Stock

  • #6
    New to the CF scene
    Join Date
    Jan 2003
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks a lot!


  •  

    Posting Permissions

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