<script language = "javascript" type = "text/javascript">
var Gemotery = {};
if (window.screenLeft) { //IE and others
Gemotery.getWindowX = function() { return window.screenLeft; };
Gemotery.getWindowY = function() { return window.screenTop; }
} else if (window.screenX) {//Firefox and others
Gemotery.getWindowX = function() { return window.screenX; };
Gemotery.getWindowY = function() { return window.screenY; }
}
//Execute
var winX = Gemotery.getWindowX();//Error
var winY = Gemotery.getWindowY();//Error
document.write("x="+winX+",y="+winY);
</script>
上面的错误在什么地方啊。求救!!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货