> Is it true that the infowindow supports html and ONLY html, NOT
> containing any javascript?  I failed to find any documentation, or any
> discussion about this in “this group”.

Did you not?  I could find quite a bit -
   
http://groups.google.com/group/Google-Maps-API/search?group=Google-Maps-API&q=javascript+in+infowindow&qt_g=Search+this+group

It can be made to work, but you have to think about what you are doing
very clearly.  Bear in mind that the infowindow doesn't exist when the
page/map is loaded - the scripts, <divs> etc inside it simply aren't
there so far as the user's browser is concerned.  The usual way to
make it work without getting headaches is to put the code elsewhere in
functions, and put only function calls in the infowindow content,
paying attention to variable scope.

Don't forget you can trigger functions to operate on the infowindow by
way of event listeners too.

cheers, Ross K

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