Hi,

I have the following image map defined:

<img src="colombo.jpg" id="testimg" usemap="#testimgmap" title="image"
onclick="alert('oi');" alt="" >
<map name="testimgmap" id="testimgmap">
<area shape="rect" coords="0,0,100,100" title="red area" onclick="alert
('me');" alt="" >
</map>

Contrary to Firefox and IE7, Chrome, when I click in the image
(outside the area) doesn't fire the onclick event. It only can fire
the onclick event in the area.

Is this a bug in WebKit? Is there a "workaround"?


(This is a test case, my real scenario is to show some info when
onmouseover of the img and onmouseout)


thanks in advance

--~--~---------~--~----~------------~-------~--~----~
Chromium Discussion mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-discuss
-~----------~----~----~----~------~----~------~--~---

Reply via email to