www.webdeveloper.com
Results 1 to 4 of 4

Thread: Alt Tag

  1. #1
    Join Date
    Apr 2003
    Posts
    73

    Alt Tag

    I want the alt tag to appear more quicly i.e. as soon as the user moves mouse over link. Is this possible???

  2. #2
    Join Date
    Nov 2002
    Location
    Nashua, NH
    Posts
    3,195
    Few clarifications first.
    alt is not a tag, its an attribute which is meant to provide alternate text for non-textual elements to serve as content when the element cannot be rendered normally. (see HTML 4.01 Spec for more information.
    The fact that IE displays it as a tooltip when user hovers over an image is incorrect behavior and should be exploited.
    If you want to provide advisory information use title attribute

    Most graphical browsers display the content of title attribute as a tooltip using OS functionality. You can not affect neither presentation nor behavior of these tooltips.

    You can, however, use javascript to replace the default tooltips with an absolutely positioned block element. My implementation of such script can be found here: www.klproductions.com/klToolTipsDemo.html
    Vladdy

    Working web site is not the one that looks the same in a few graphical browsers, but the one that adequately delivers its content to any device accessing it.

  3. #3
    Join Date
    Jan 2003
    Location
    Jersey Girl
    Posts
    1,198
    hi Vladdy...

    I was checking-out your tooltip mouseovers and it crashed my browser (Moz).

    To be sure, I tried it again.
    Same.

    I only mention it so that you are aware of it.
    Maybe it's just Moz (1.4b)... which is really starting to tick me off lately (but i don't know... i didn't test on anything else)...
    k

  4. #4
    Join Date
    Nov 2002
    Location
    Nashua, NH
    Posts
    3,195
    I usually stay away from nightly builds, but it works fine on my Moz 1.4...
    Was there any kind of error or anything
    Vladdy

    Working web site is not the one that looks the same in a few graphical browsers, but the one that adequately delivers its content to any device accessing it.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles