1. 首页
  2. 数据库
  3. 其它
  4. jQuery获取浏览器中的分辨率实现代码

jQuery获取浏览器中的分辨率实现代码

上传者: 2021-02-20 02:28:23上传 PDF文件 22.72KB 热度 5次
代码如下: [removed] $(document).ready(function(){ alert($(window).height()); //浏览器当前窗口可视区域高度 alert($(document).height()); //浏览器当前窗口文档的高度 alert($(document.body).height());//浏览器当前窗口文档body的高度 alert($(document.body).outerHeight(true));//浏览器当前窗口文档body的总高度 包括border padding marg
下载地址
用户评论