只要一执行javascript部分就报错,看不出来哪有问题,谁能帮我调调啊
解决方案 »
- 关于PHP获取MP3文件总长度时间(在线等待高手指导)
- [求助]这种键值对应的数组怎么定义
- php,js的JSON应用,请帮忙找下错误,没实验对。。。
- IIS作为PHP的代理服务器,这时候PHP站点的根目录怎么到?因为这时的根目录是IIS的一个虚拟路径
- 如何把摄像机的磁带存入电脑,并转换格式
- 我采用类似冒泡的方式求取最大值,总是不能成功,请帮我看看我的程序问题在哪里?
- ubb解析出什么问题了,请帮忙!
- 求FLASH MTV :因自负而失败类
- 救命啊,关于PHP的SESSION问题
- 日期问题!
- 看例子怎么将数据给显示到表格里面?还请高手光顾!!指点
- 100分: 有木有最新的PHP中文CHM手册,2009的?
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.aa {
font-size: 9px;
}
.STYLE1 {
color: #FF4444;
font-weight: bold;
}
-->
</style>
<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312"/>
<title>google地图</title>
<script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAsAsV_jBT9Fxn0YmUUxQ1qhTUMxGw_kstqiywO1DGW7W5Lh9ViBRQAfUYDOzvPtN2EdHOYyP_0AJ2VQ"
type="text/javascript"></script>
<script type="text/javascript">
function load() {
if (GBrowserIsCompatible()) {
map=new GMap2(document.getElementById("maps"));
//起始中心点
map.setCenter(new GLatLng(41.01077,113.05208),12, G_NORMAL_MAP);
//功能键
map.addControl(new GLargeMapControl());
map.addControl(new GMapTypeControl());
map.addControl(new GScaleControl());
//开启滚轮伸缩效果--鼠标滚轮向前滚放大地图,反之缩小
map.enableScrollWheelZoom();
function createMarker(point, info) {
var er = new GMarker(point);
GEvent.addListener(er, "click", function() {
er.openInfoWindowHtml(info);
});
return er;
}
var point = new GLatLng(41.01077,113.05208);
map.addOverlay(createMarker(point, "琛岃繙鍔犳补绔?));
}
}
</script>
</head>
<body onload="load()" onunload="GUnload()">
<div id="maps" align="center" style="width:100%;height:500px"></div>
</body>
</html>这是解析完的
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.aa {
font-size: 9px;
}
.STYLE1 {
color: #FF4444;
font-weight: bold;
}
-->
</style>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>google</title>
<script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAsAsV_jBT9Fxn0YmUUxQ1qhTUMxGw_kstqiywO1DGW7W5Lh9ViBRQAfUYDOzvPtN2EdHOYyP_0AJ2VQ" type="text/javascript"> </script>
<script type="text/javascript"> function load()
{
if (GBrowserIsCompatible())
{
map=new GMap2(document.getElementById("maps"));
map.setCenter(new GLatLng(41.01077,113.05208),12, G_NORMAL_MAP);
map.addControl(new GLargeMapControl());
map.addControl(new GMapTypeControl());
map.addControl(new GScaleControl());
map.enableScrollWheelZoom();
function createMarker(point, info)
{
var er = new GMarker(point);
GEvent.addListener(er, "click", function()
{
er.openInfoWindowHtml(info);
});
return er;
}
var point = new GLatLng(41.01077,113.05208);
map.addOverlay(createMarker(point, "中国"));
}
}</script>
</head>
<body onload="load()" onunloads="GUnload()">
<div id="maps" align="center" style="width:100%;height:500px"> </div>
</body>
</html>