摘要: 原文:http://www.cnblogs.com/duck1218/archive/2011/07/20/2112252.htmlvar bodyWidth =document.body.clientWidth; //网页可见区域宽 var bodyHeight =document.body.clientHeight; //网页可见区域高 var bodyWidthWithBorder =document.body.offsetWidth; //网页可见区域宽(包括边线的宽) var bodyHeightWithBorder=document.body.offsetHeight; //网页可 阅读全文
posted @ 2011-07-21 22:40 polymorphic 阅读(173) 评论(0) 推荐(0) 编辑