<html>
<head>
<title>测试显示器的分辨率 </title>
<script language="javascript">
function testScreen()
{
var x = window.screen.width;
var y = window.screen.height;
alert(x);
alert(y);
}
</script>
</head>
<body onload="javascript:testScreen()">
获取屏幕的分辨率
</body>
</html>
<head>
<title>测试显示器的分辨率 </title>
<script language="javascript">
function testScreen()
{
var x = window.screen.width;
var y = window.screen.height;
alert(x);
alert(y);
}
</script>
</head>
<body onload="javascript:testScreen()">
获取屏幕的分辨率
</body>
</html>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货