网页宽度高度获取方法备忘
摘要:function gets(){var s ="网页可见区域宽:"+ document.body.clientWidth; s += "网页可见区域高:" + document.body.clientHeight; s += "网页可见区域宽:" + document.body.offsetWidth +" (包括边线的宽)"; s += "网页可见区域高:" + document.body.offsetHeight +" (包括边线的宽)"; s += "网页正文
阅读全文
posted @ 2013-08-26 14:32