
window.onload = function() {
var mapDiv = document.getElementById("mapDiv");
var mapDiv_children = mapDiv.children;
var index = 0;
for(var i = 0; i < mapDiv_children.length; i++) {
if(mapDiv_children[0].tagName.toUpperCase() === 'DIV') {
index++;
if (index === 3) {
mapDiv_children[i].style.left = 'auto';
mapDiv_children[i].style.right = '20px';
break;
}
}
}
};
你把上面的代码删除,把电脑砸坏!然后去找你老板,说我不干了!!!!