[Javascript] Mapping Image

Paul Novitski paul at juniperwebcraft.com
Mon Sep 11 16:22:15 CDT 2006


At 9/11/2006 01:21 PM, Flávio Gomes wrote:
>Wouldn't be the use of the tags MAP and AREA a good choice for this case?
>
>Are they "off"standard?
>
>http://www.w3schools.com/tags/tag_map.asp
>http://www.w3schools.com/tags/tag_area.asp <-- 
>W3Schools say it suppors onmouseover, click, etc


You're right -- what I failed to read into 
Henrique's posting was his need to have multiple hover areas behind the image.

Interestingly, this can be accomplished purely in CSS, without JavaScript:

Stu Nichols' CSS image maps:
http://www.cssplay.co.uk/menu/imap.html
http://www.cssplay.co.uk/menu/old_master.html
http://www.cssplay.co.uk/menu/image_map.html


Paul 




More information about the Javascript mailing list