On May 18, 2:47 pm, Zanardi <[email protected]> wrote: > Thank you for the answer. > > I try this event, but when the onOpenFn is execute, if I try to get > one div (the div is into the infowindow), this is null: > > window.parent.document.getElementById('divId').innerHTML = > 'ciao'; > > but if, after the onOpenFn I start a setTimeout, all run ok (but is > not a clean solution). > > setTimeout("window.parent.document.getElementById('divId').innerHTML = > 'ciao'",10000); > > Is not true what they write in the documentation: > "onOpenFn - Function is called after the info window is opened and the > content is displayed." > > :-) > Can you suggest a solution?
There's a trick described in this thread http://groups.google.com/group/google-maps-api/browse_thread/thread/35edd8c923dcdf29/cba6a38519e2ad55 -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
