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?
Thank you
Zanardi
On 17 Mag, 19:05, xelawho <[email protected]> wrote:
> > How can I execute a Javascript code when the infoWindow loas is
> > complete?
>
> possibly look at onOpenFn ?
>
> http://code.google.com/apis/maps/documentation/javascript/v2/referenc...
--
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.