I can't reproduce the "mysterious thing". The effect always happens, not
just for the first marker.

When you click on the map, the API puts the "click" event into the event
queue and closes the info window, then releases control. The browser
updates the display with the info window absent and removes it from the
DOM, then looks at the next event in the queue and calls your click
handler. So this line finds nothing:
     var f=document.getElementById("infowindowfrm");

You might try setting {noCloseOnClick:true} so that the API doesn't
close the info window in such circumstances.

-- 
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team


--~--~---------~--~----~------------~-------~--~----~
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