<SCRIPT LANGUAGE="text/JavaScript">
var tempstr ="网页可见区域宽:"+ document.body.clientWidth;
tempstr += "\r\n网页可见区域高:"+ document.body.clientHeight;
tempstr += "\r\n网页正文全文宽:"+ document.body.scrollWidth;
tempstr += "\r\n网页正文全文高:"+ document.body.scrollHeight;
tempstr += "\r\n网页正文部分上:"+ window.screenTop;
tempstr += "\r\n网页正文部分左:"+ window.screenLeft;
tempstr += "\r\n屏幕分辨率的高:"+ window.screen.height;
tempstr += "\r\n屏幕分辨率的宽:"+ window.screen.width;
tempstr += "\r\n屏幕可用工作区高度:"+ window.screen.availHeight;
tempstr += "\r\n屏幕可用工作区宽度:"+ window.screen.availWidth;
alert(tempstr);
</SCRIPT>
更多信息请查看IT技术专栏