<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="jquery-1.7.1.min.js"></script>
<script src="http://api.map.baidu.com/api?v=1.3" type="text/javascript"></script>
<script type="text/javascript" src="baidumap.js"></script>
<script type="text/javascript">
$(function(){
var lng = '117';
var lat = '120';
var hos = '浙江大学医学院附属邵逸夫医院';
$("#lookmap").attr("href", "http://map.baidu.com/?latlng="+lat+","+lng+"&title="+hos+"&content=&autoOpen=true");
MapUtil.init("map");
MapUtil.showLabel(lng, lat, hos);
var url = "http://map.baidu.com/?latlng="+lat+","+lng+"&title="+hos+"&content=&autoOpen=true";
MapUtil.addEventListener('click',function(){},url);
});
</script>
</head>
<body>
<!--主体页面底部-right-->
<div class="yys-main-bottom-right">
<div class="yys-main-bottom-right-map">
<div id="map" style="width: 270px;height: 230px;"></div>
<div><a href="#" id="lookmap" target="block">查看地图</a></div>
</div>
</div>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="jquery-1.7.1.min.js"></script>
<script src="http://api.map.baidu.com/api?v=1.3" type="text/javascript"></script>
<script type="text/javascript" src="baidumap.js"></script>
<script type="text/javascript">
$(function(){
var lng = '117';
var lat = '120';
var hos = '浙江大学医学院附属邵逸夫医院';
$("#lookmap").attr("href", "http://map.baidu.com/?latlng="+lat+","+lng+"&title="+hos+"&content=&autoOpen=true");
MapUtil.init("map");
MapUtil.showLabel(lng, lat, hos);
var url = "http://map.baidu.com/?latlng="+lat+","+lng+"&title="+hos+"&content=&autoOpen=true";
MapUtil.addEventListener('click',function(){},url);
});
</script>
</head>
<body>
<!--主体页面底部-right-->
<div class="yys-main-bottom-right">
<div class="yys-main-bottom-right-map">
<div id="map" style="width: 270px;height: 230px;"></div>
<div><a href="#" id="lookmap" target="block">查看地图</a></div>
</div>
</div>
</body>
</html>