On Apr 19, 1:27 pm, nou <[email protected]> wrote:
> hi
>
> I have some infoWindows containing 1 image each. On the canvas
> containign the map that displays the infoWindows I have registered an
> event listener that fires at onclick. The handler is pretty much like
> this:
>
> myHandler = function (e) {
>    var trg = YAHOO.util.Event.getTarget(e);
>    if (trg.tagName === "IMG") {
>       // do stuff with the image
>    }
>
> }
>
> the handler fires alright in FireFox but not in IE (6,7,8). Any
> idea ???

The best idea is for you to read the posting guidelines and provide a
link to a map that shows your issue:
http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines

What is "YAHOO.util.Event.getTarget(e)"?  That is not part of the
Google Map API.  In fact, none of the code you posted has anything to
do with the Google Map API (the topic of this group).  Are you sure
you are in the right place?

  -- Larry



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to