Results 1 to 6 of 6

Thread: Highlight Table Cells Script Alt Tags Missing

  1. #1
    Join Date
    Jul 2005
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Highlight Table Cells Script Alt Tags Missing

    1) Script Title: Highlight Table Cells Scrip

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...lighttable.htm

    3) Describe problem: I've noticed that in Safari and FF the alt tag on any images in the table don't work when using this script. Is there a fix? It's not good to hide alt tags.

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    You may have to also add a title, add this to your table:
    Code:
    title="alt(you chose)"
    Hope this Helps,
    Nile
    Jeremy | jfein.net

  3. #3
    Join Date
    Jul 2005
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    that worked, thanks!

  4. #4
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Anytime.
    Firefox and Safari don't support the alt tag. So they need to support one tooltip info tag, so they have title. But keep in the alt for IE users.
    It'd be easier if all the ran on the same thing, except VB Script, that was never fun.
    Jeremy | jfein.net

  5. #5
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    Quote Originally Posted by Nile View Post
    Anytime.
    Firefox and Safari don't support the alt tag. So they need to support one tooltip info tag, so they have title. But keep in the alt for IE users.
    It'd be easier if all the ran on the same thing, except VB Script, that was never fun.
    I maybe at mistake, but FF do support alt tags...it's just that they don't appear when the image is available

    ...ALT tags is important aside from it's a validation requirement, FF outputs the ALT tags (alternate text) when the image is not available.

    Op,
    The title tag could also be useful, which appears fine in FF and IE

    Just my 2 cents worth
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  6. #6
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    You are correct. It doesn't display as a tooltip, but as a broken image fixer, this is why its good to have alt text. If the image can't be displayed, you can also describe it. So always include both title and alt.
    Jeremy | jfein.net

Bookmarks

Posting Permissions

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