image maps and alt tags

hello,

I have made an image map and everything is fine, but i would like something like alt tags over the image. HTML 3 has a <fig> tag but this is of course not supported by any browser i know.

I know i could use layers and place empty images or something (eeew) over the map, and give that an alt tag, but then i could just as well not use an image map, which i do want because of older browsers that do not support layers all that well.

Consider javascript/layers a nono (hard task, i know ;-)

Looking forward on any comments/answers,

 Floris
LVL 1
TheMadManiacAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

TheMadManiacAuthor Commented:
oops forgot.. client-side image map
0
buildanddevelopCommented:
Use alt in your <area> tags.
0
TheMadManiacAuthor Commented:
alt is part of IMG. It does not work in AREA tags (IE4,NS4.5)
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

buildanddevelopCommented:
Actually, we're both a little incorrect, alt will not display a tag tip in the when used in the <area> tag. So for you I guess it is useless for what you want to accomplish. But it is a property of the <area> tag, and will display the appropriate text when used with a browser that does not support images.
0
nettromCommented:
side notes:

the Opera browser will show the alt-text defined for the image when you shut off images, Lynx will also do that.  I don't know what Opera will do when you click on the alt-text though.  Lynx shows the alt text as a link, and then let you navigate the image map when you follow the link.  Opera will let you navigate the image map as it should be when you show images.  it won't show you the alt tags as a "tool tip" for the AREA elements though, since it doesn't do that (alt-text isn't supposed to be used for tooltips).

I've noticed that both IE and Netscape show the alt-text defined for the AREA when you put the mouse cursor over each AREA, but I don't believe they ever show you the alt-text for the whole image (unless you've shut off image-loading, probably).
0
rkcthCommented:
Get cutemap it does this automatically and then you can fix mapping errors on the fly.
0
TheMadManiacAuthor Commented:
The problem is not generating the image map (it is generated from a database anyway), but to make it somehow possible to let text (ala alt tags) float over the image where you can click.

I have noticed that ALT tags DO get displayed in NS4.5, however when the image is only partially on the screen (which is my case, big image) then it does NOT show them. Weird if you ask me.
0
nettromCommented:
it's a bug, if you ask me. :)

but you want some kind of "tooltip" over the image when the user mouseouvers one of the areas of the image map?
0
TheMadManiacAuthor Commented:
Bug: yes, IE4 does not display them at all.

tooltip: basically, yes :)
0
nettromCommented:
maybe I should actually read the question first... :)

as far as I can read regarding the HTML 4 spec, to get some kind of tooltip you should use TITLE, since ALT is meant for browsers without graphics.  sadly enough, thought, TITLE is even less supported than ALT when it comes to client-side image maps.

so, if you don't want to use layers my view of the situation is that you'll have to use ALT, and then live with Netscape being buggy.
0
rkcthCommented:
OnMouseOver="window.status='YOUR TEXT HERE!!!'
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.