...">
看完图下面是测试代码:
<html>
<head>
<title>21shipin.com</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
</style>
</head>
<body>
<SCRIPT LANGUAGE="JavaScript">
var s = "";
s = "\r\n网页可见区域宽:" document.body.clientWidth;
s = "\r\n网页可见区域高:" document.body.clientHeight;
s = "\r\n网页可见区域宽:" document.body.offsetWidth " (包括边线的宽)";
s = "\r\n网页可见区域高:" document.body.offsetHeight " (包括边线的宽)";
s = "\r\n网页正文全文宽:" document.body.scrollWidth;
s = "\r\n网页正文全文高:" document.body.scrollHeight;
s = "\r\n网页被卷去的高:" document.body.scrollTop;
s = "\r\n网页被卷去的左:" document.body.scrollLeft;
Word教程网 | Excel教程网 | Dreamweaver教程网 | Fireworks教程网 | PPT教程网 | FLASH教程网 | PS教程网 |
HTML教程网 | DIV CSS教程网 | FLASH AS教程网 | ACCESS教程网 | SQL SERVER教程网 | C语言教程网 | JAVASCRIPT教程网 |
ASP教程网 | ASP.NET教程网 | CorelDraw教程网 |