The HTML inside an infowindow is effectively put there by loading the 
text into the .innerHTML of a <div>, so <script> tags in that HTML don't 
get implemented.

Actually, that's a benefit to some of us. If that wasn't the case we'd 
have to be much more careful about allowing users to provide infowindow 
content for our pages.

You can write Javascript functions in the body of your page, and call 
them when the infowindow opens.

You can put HTML elements in your infowindows that call existing 
Javascript functions when clicked or mouseovered.

-- 
Mike Williams
http://econym.org.uk/gmap


--

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