another way is to use the bindInfoWindow() method which allows you to
associate DOM content with a marker.

http://code.google.com/apis/maps/documentation/reference.html#GMarker.bindInfoWindow

this way you can create the div, call the jquery directly on the div,
and then associate the div with the marker:

var infoDiv = document.createElement('div');
infoDiv.innerHTML = html;
enableRatingSystem(infoDiv);
marker.bindInfoWindow(infoDiv);

see the following map for a demonstration:
http://www.william-map.com/20100322/2/map.htm

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