Re: Z-Order In Image Maps

Ian Graham (ianweb@smaug.java.utoronto.ca)
Thu, 24 Oct 1996 09:54:24 -0400 (EDT)


From: ianweb@smaug.java.utoronto.ca (Ian Graham)
Message-Id: <199610241354.JAA10674@smaug.java.utoronto.ca>
Subject: Re: Z-Order In Image Maps
To: I.End@bigpic.com
Date: Thu, 24 Oct 1996 09:54:24 -0400 (EDT)
Cc: www-html@w3.org
In-Reply-To: <22135215601518@cjnet.com> from "Imagination's End" at Oct 23, 96 04:14:21 pm

There is no need to guess -- the behavior is defined in the specifications. See,
for example

   http://www.w3.org/pub/WWW/TR/WD-html32#map

This references the original spyglass ID that originally proposed the 
MAP and AREA elements.

Ian
--
Ian Graham ................................................ ian.graham@utoronto.ca
Information Commons                                              Tel: 416-978-4548
University of Toronto                                            Fax: 416-978-0440

> 
> Working with Image maps I came across confusion as to how the 
> following should be handled:
> 
> <IMG SRC="testimgp.jpg" WIDTH=590 HEIGHT=387 USEMAP="#MAP">
> <MAP  NAME="MAP">
> <area shape=rect coords="100,100,400,400" alt="Area 1" href="area1.html">
>  <area shape=rect coords="200,200,300,300" alt="Area2" href="area2.html">
>  </MAP>
> 
> Is Area #1 supposed to be obscruing Area #2, or is Area 2 supposed to 
> be on top of Area #1?
> 
> STandard behaviour is to have Area #1 obscruing Area #2, but is that 
> supposed to be what happens?  It doesn't it seem intuitive that as 
> areas are created they are put further behind in the Z-Order.
>  ____
> /
> |  Imagination's End  I.End@bigpic.com
> |  Senior Software Engineer
> |  Big Picture Multimedia
>