|
Posted by Mason C on May 13, 2008, 11:52 pm
Please log in for more thread options
>Run into something recently that has left me a little puzzled.
>
>According to the examples in section 13.6.1 of html 4.01...
>
><http://www.w3.org/TR/html401/struct/objects.html#h-13.6.1.1>
>
>I should be able to use <a> elements with a specified
>shape and coords within a <map> so that I can use the
>links with an actual image and, at the same time, have the
>links appear as text. Something like the map associated with
>the large image at the top of this page:
>
><http://www.chem.utoronto.ca/coursenotes/analsci/atomic/faas.html>
>
>This validates perfectly well, and functions as expected in
>Firefox 2 (Mac). In Safari 3 (Mac), however, only the text
>versions of the links work; none of the three rectangular
>areas defined in the <a> tags are active.
>
>Huh? Am I missing something here?
>
>Further, Dreamweaver's (CS3 version) built-in validator objects
>to the shape and coords attributes with the following message:
>
>"The tag: "a" doesn't have an attribute "shape" in currently
> active versions. [HTML 4.0]
>
>Again, huh?
>
>I can get image maps to work as expected using <area> only,
>in which case the text below the image no longer has active
>links of its own.
>
>I can get the functionality I want by combining both <area>
>and <a> within the <map>, but as far as I can see that shouldn't
>be necessary - as I said, it works fine in Firefox (and Opera 9)
>but not Safari (nor Mozilla 1.7).
>
>Anyone run into this before?
I hate it when people respond peripherally to the question.
I don't think the links on the map work very well. It took me
a while to figure out what was intended. On a map of the
world one could certainly use links to the nations. On a
photo such as this it didn't work for me.
Sorry about that,
Mason C
|