I'm using w3m/0.1.11-pre. (And I use it all the time--many thanks to
the developers!)
My online bank uses an image map that is both client-side and
server-side, like so:
<a href="/cgi/foo.map"><img src="whatever" ismap usemap="#bar"></a>
<map name="bar">
<area ...>
<area ...>
...
</map>
Presumably they are doing this for compatibility with browsers that
support server-side image maps but not client-side maps. The HTML spec
doesn't say that the usemap attribute should take precedence over the
enclosing anchor, but apparently it does in most graphical browsers.
In w3m, however, the anchor takes precedence. Note that the presence or
absence of the ismap attribute makes no difference; as long as the image
is inside a hyperlink, w3m will ignore the usemap attribute. This is
unfortunate, since w3m has no way to let the user choose the coordinates
to be passed to the server. It would be much more helpful to use the
usemap attribute.
I suggest that when GOTO_LINK is invoked on an image with a usemap
attribute, the default action should be to use the map, even when the
image is inside a hyperlink. It might also be nice to allow the user to
follow the hyperlink, perhaps via the pull-down menu, but I think that's
less important.
By the way, w3m seems to ignore alt attributes inside area elements.
AMC
This archive was generated by hypermail 2b29 : Wed Nov 29 2000 - 23:36:09 CST