View Full Version : Image map in Mozilla?


zangerbanger
04-01-2004, 05:48 PM
For some reason the image map on my site works in IE6, but not in Mozilla Firebird. Here's my site: http://jordan.sweet-chaos.net . I've tried looking at other image maps through Mozilla such as the one on Lissa's page: http://www.lissaexplains.com/fun6.shtml and it works fine. Does anybody know what the problem might be?

pb&j
04-01-2004, 07:58 PM
your MAP tag is using ID for the value of it. i believe you need to use the NAME value.

<map name="eliza_3x2.jpg">

that may be against XHTML validation, but it is a fix to the problem.

the other thing to do is take out the .jpg part out of that value (and of course the value seen in your USEMAP value. it may be getting confused thinking it is a new image.

<map name="eliza_3x2">

usemap="#eliza_3x2"

the last thing to try, is to move the MAP area before the actual image using the map.

zangerbanger
04-01-2004, 09:56 PM
Thanks for the help :) . It turns out that the only way for it to work is using the "name" value rather than "id". If I change it, my site is no longer validated as XHTML 1.0 Transitional so I might as well not change it. I may consider slicing up the image and making them individual links sometime in the future, but from now until then, my site will work only in Internet Explorer :( .