Re: Z-Order In Image Maps

Simone Demmel (neko@greenie.muc.de)
Thu, 24 Oct 1996 11:16:39 +0200 (MET DST)


Message-Id: <m0vGLu3-0008G1C@sleepy.greenie.muc.de>
From: neko@greenie.muc.de (Simone Demmel)
Subject: Re: Z-Order In Image Maps
To: I.End@bigpic.com
Date: Thu, 24 Oct 1996 11:16:39 +0200 (MET DST)
Cc: www-html@w3.org
In-Reply-To: <22135215601518@cjnet.com> from Imagination's End at "Oct 23, 96 04:14:21 pm"

Hi,

Imagination's End wrote:
> <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>
> 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.

It seems to be that the browser interpretes the first matching field, he
can find. That means:

100,100,200,200
120,120,190,190
will never see the area in 1200,120,190,190.

120,120,190,190
100,100,200,200
in this case the area 120,120,190,190 will be interpreted correctly.

This beahvior is only a TEST!!! Netscape is doing it like this, and I
have also seen this beahvior on Server-Sided immagemaps.

(I think it is easier to implement like this)

neko
-- 
Wenn ich schon klicken muss, dann will ich auch ein Bildchen haben ...
(Gert zum fehlen der Bildchen im Directory-Listing vom FTP-WEB-Server)
                               ***
neko@greenie.muc.de 	  Simone Demmel		Muenchen (Germany)
Fax.: 089/354 59 80
http://greenie.muc.de/~neko/
    Member of The HTML Writers Guild (http://guild.infovav.se/)