Re: Cougar DTD img USEMAP & ISMAP

Stu Harris (sirrah@baluga.maximumaccess.com)
Fri, 12 Jul 1996 09:51:13 -0700 (PDT)


Message-Id: <m0uelQw-00015sC@baluga.maximumaccess.com>
From: sirrah@baluga.maximumaccess.com (Stu Harris)
Subject: Re: Cougar DTD img USEMAP & ISMAP
To: www-html@w3.org
Date: Fri, 12 Jul 1996 09:51:13 -0700 (PDT)
In-Reply-To: <199607121552.AA30215@melimelo.enst-bretagne.fr> from "Aymeric Poulain Maubant" at Jul 12, 96 05:52:24 pm

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/