摘要: JavaScript 获取页面宽高的方法function getInfo(){ var s = ""; s += " 网页可见区域宽:"+ document.body.clientWidth; s += " 网页可见区域高:"+ document.body.clientHeight; s += " 网页可见区域宽:"+ document.body.offsetWidth + " (包括边线和滚动条的宽)"; s += " 网页可见区域高:"+ document.body.of 阅读全文
posted @ 2012-08-07 13:57 夜雨_Jason 阅读(199) 评论(0) 推荐(0) 编辑