jq下获取浏览器窗口的可视区域高度和宽度,滚动条高度
alert($(window).height());
//浏览器时下窗口可视区域高度
alert($(document).height());
//浏览器时下窗口文档的高度
alert($(document.body).height());
//浏览器时下窗口文档body的高度
alert($(document.body).outerHeight(
true
));
//浏览器时下窗口文档body的总高度 包括border padding margi