关于js(jquery)获取页面高度宽度问题
摘要:
$(window).height()为当前可见区域$(document.body).height();body的高度网页可见区域宽: document.body.clientWidth网页可见区域高: document.body.clientHeight网页可见区域宽: document.body.offsetWidth (包括边线的宽)网页可见区域高: document.body.offsetHeight (包括边线的高)网页正文全文宽: document.body.scrollWidth网页正文全文高: document.body.scrollHeight网页被卷去的高: document 阅读全文
posted @ 2013-08-01 23:39 staben 阅读(374) 评论(0) 推荐(0) 编辑