1
function bindInfoWindow(marker, map, infoWindow, html) {
google.maps.event.addListener(marker, 'click', function() {
infoWindow.setContent("<div id='window'>" + html + "</div>");
}
和
var html = "<b>" + title + "</b> <br/><b>" + country;
,我想,当国家为英国或美国改变#window DIV或不透明度infoWindow
有没有办法可以用jQuery来做到这一点?
thnx