On Apr 19, 3:03 pm, nou <[email protected]> wrote:
> I actually set up a simplified page (http://www.nourdine.net/_more_/
> apps/ppm/test.html) where you can obsverve the bug. When u click on
> the text in the infowindow (or anywhere else in the infowindow)
> nothing happens in IE.
>
> but if u have a look at the code there is a listener registered on the
> canvas that should manage all the clicks on the map and the stuff
> contained in it. In fact in Firefox the code works alright!
>
> help me!!! This bug is blocking for my project.

http://www.catb.org/~esr/faqs/smart-questions.html#urgent


You are not using the api for your click listener:
         document.getElementById("map_canvas").onclick = function (e)
{
            if (!e) e = window.event;
            var trg = (e.target) ? e.target: e.srcElement;
            alert("tagname : " + trg.tagName);
         }

I suspect it has to do with IE's non-standard behavior.
You might try searching general web development resources on the web.

>
> Also I would like to avoid having to register a listener on each
> <b>text</b> in the infowindow ... u know ... one listener that does
> delegation is always the right way!
>
> thanks a lot
--~--~---------~--~----~------------~-------~--~----~
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