On 18 Mag, 20:37, Rossko <[email protected]> wrote: > On May 18, 2:47 pm, Zanardi <[email protected]> wrote: > > > 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 > threadhttp://groups.google.com/group/google-maps-api/browse_thread/thread/3...
Ok, is very similar to my solution with the setTimeout. Thanks for the help, I have been very helpful. -- 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.
