Menu

#29 Tool Tips for Map on Realms Pages

open
nobody
5
2005-01-03
2005-01-03
Niilo
No

I have discovered why certain browsers don't show the
tool tips (province name) on the maps. It's because
they're not supposed to show ALT text in that way - IE
does it, so many people (including myself) have assumed
that's how it's done.

Anyway, the appropriate attribute for this is the title
attribute. To fix this problem simply add this
attribute to the templates exactly as the alt attribute
appears (not sure how the templates work since I
haven't ever looked at them). For example:

<AREA shape=POLY
alt="Banien's Deep - (Aerenwe)"
title="Banien's Deep - (Aerenwe)"
coords="424,479,419,455,402,446,410,438,419,428,447,441,448,463,439,477"
href="http://www.deault.com/lebr/anuire_2/realm_aerenwe_2.html">

Note that the alt attribute is required for images, so
that must remain or it may break the title function for
neurotic browsers (like Firefox) - however, you can
leave it with no text such as alt="".

- Niilo

Discussion

  • Niilo

    Niilo - 2005-01-04

    Logged In: YES
    user_id=456058

    I've made the change to the appropriate template. Now how
    do I submit the new file for inclusion in the program?

    - Niilo

     
  • Niilo

    Niilo - 2005-01-04

    Logged In: YES
    user_id=456058

    I'll attach the file here (if it lets me). I simply changed
    the [alt="...] part to [alt='' title="...].

     
  • Niilo

    Niilo - 2005-01-04

    Changed template file

     
  • Nobody/Anonymous

    Logged In: NO

    That sounds exactly what I was planning... To use the new
    file just put it into the templates directory when creating the
    web pages, (or give it to the DM to use and get them to re-
    create the web pages)

     

Log in to post a comment.

MongoDB Logo MongoDB