Mike, Thank you thank you thank you. The demo is not quite how it worked in my editor, but you trick solved both problems. I did not realize that a "click" event automatically closes the infowindow - that explains many things.
BTW, I owe you a lot - your tutorial pages are really what helped get me off the ground! On Feb 28, 9:17 pm, Mike Williams <[email protected]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---
