<script language=text/javascript>
var tempstr =網頁可見區(qū)域寬:+ document.body.clientwidth;
tempstr += \r\n網頁可見區(qū)域高:+ 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屏幕可用工作區(qū)高度:+ window.screen.availheight;
tempstr += \r\n屏幕可用工作區(qū)寬度:+ window.screen.availwidth;
alert(tempstr);
</script>