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
          ;
          s += "\r\n網頁正文部分上:" + window.screenTop
          ;
          s += "\r\n網頁正文部分左:" + window.screenLeft
          ;
          s += "\r\n屏幕分辨率的高:" + window.screen.height
          ;
          s += "\r\n屏幕分辨率的寬:" + window.screen.width
          ;
          s += "\r\n屏幕可用工作區高度:" + window.screen.availHeight
          ;
          s += "\r\n屏幕可用工作區寬度:" + window.screen.availWidth
          ;
          s += "\r\n你的屏幕設置是 " + window.screen.colorDepth + " 位彩色"
          ;
          s += "\r\n你的屏幕設置是 " + window.screen.deviceXDPI + " 像素/英寸"
          ;
          alert (s);
          posted on 2008-10-17 20:06 -274°C 閱讀(1660) 評論(0)  編輯  收藏 所屬分類: web前端

          常用鏈接

          留言簿(21)

          隨筆分類(265)

          隨筆檔案(242)

          相冊

          JAVA網站

          關注的Blog

          搜索

          •  

          積分與排名

          • 積分 - 916114
          • 排名 - 40

          最新評論

          主站蜘蛛池模板: 通州市| 申扎县| 和政县| 莎车县| 新营市| 自治县| 翁牛特旗| 西乌珠穆沁旗| 长白| 辽中县| 宜阳县| 乐都县| 呼图壁县| 开远市| 江口县| 色达县| 中江县| 宜州市| 兴国县| 大洼县| 绍兴市| 环江| 米易县| 慈利县| 乐亭县| 石泉县| 开平市| 承德县| 霍城县| 临武县| 城步| 衢州市| 蓝山县| 景泰县| 齐河县| 东源县| 图木舒克市| 连城县| 濮阳县| 宣威市| 思茅市|