Re: alt tags in image maps

by "Abhay S. Kushwaha" <abhay(at)kushwaha.com>

 Date:  Fri, 28 Apr 2000 16:44:12 +0530
 To:  "Basics [HWG]" <hwg-basics(at)hwg.org>
 References:  home LOGIN
  todo: View Thread, Original
doh! <area> not <a>! double doh!

[abhay]

PS: :-P

----- Original Message -----
From: Abhay S. Kushwaha <abhay(at)kushwaha.com>
    Subject: Re: alt tags in image maps


> Rayne, I saw them in IE 5.01 and saw the pop-ups. This is how the
> story goes...
>
> You use the <img> with the "ALT" attribute and the whole of the
> image gets assigned that "alternative" text which the graphical
> browsers display as a pop-up whenever your mouse moves over it.
>
> Then, you take part of the image and then <map> it up, defining
> certain regions, which upon being clicked, shall load up various
> pages. NOW when you are using the "ALT" attribute, you are not doing
> so for the <img> tag, but for the <a> tag. Text based browsers will
> pick up this text and display the menu. The graphical browsers will,
> again, pick up this text and display it as a pop-up. The thing to
> note is that since it is now a <a> attribute, it shall ONLY be
> displayed where <a> is applicable, and that is, in this case, the
> region you define in the <map>.
>
> So, when you move your mouse around on the image, wherever there is
> not a region mapped to a <a>, you will see the "ALT" of the <img>
> and wherever it is mapped to a <a>, you will see the "ALT" of that
> particular <a> tag.
>
> Suggestion: why don't you slice up the images?
>
> [abhay]
>
> ----- Original Message -----
> From: Rayne Alburquerque <rayneal(at)home.com>
> Subject: alt tags in image maps
>
>
> > I have a question. How is text represented in the links of an
> > image map. I used the regular alt attribute for each link in
> > my image map, but the only text that shows up is is the main
> > image text.
> >
> > Can anyone explain this? Where I am talking about is:
> > http://www.raynebair.com/chiquita/

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA