JQuery获取当前屏幕的高度宽度
摘要:
JQuery获取浏览器窗口宽高,文档宽高2010-01-20 08:59<script type="text/javascript">$(document).ready(function() {alert($(window).height()); //浏览器当前窗口可视区域高度alert($(document).height()); //浏览器当前窗口文档的高度alert($(document.body).height());//浏览器当前窗口文档body的高度alert($(document.body).outerHeight(true));//浏览器当前窗口 阅读全文
posted @ 2011-08-23 10:30 小宝哥哥 阅读(162) 评论(0) 推荐(0) 编辑