Re: Cougar DTD img USEMAP & ISMAP

Ay wrote:
[edit]
> 
> Thus, if i provide such code :
> 
>      <img src="foo.png" alt="bar" usemap="client-side-use-map" ismap>
> 
> how is the User Agent supposed to behave ?
> 
> Why not define a exclusion rule between usemap and ismap (or do I miss
> something here ?) ?

Indeed you do. Simultaneous use of USEMAP and ISMAP (client-side and 
server-side image mapping) has been a common and [we think] prudent 
practice in this shop ever since Seidel mapping was first made possible. 
The answer to your question is that the client-side map will take 
precedence if seen by a browser that's dual-capable. A non-Seidel browser 
has the server side map to fall back on. If I may -- ahem -- slightly 
amend your code, here's how it's done:

<a href="/cgi-bin/imagemap/~mypath/server-side.map"><img src="foo.png" 
alt="bar" usemap="#client-side-map" ismap></a>

Amitie's,
Stu Harris
Beach Media, San Diego
www.beachmedia.com/www/

Received on Friday, 12 July 1996 12:44:53 UTC