scrollHeight,scrollLeft,scrollTop,scrollWidth
来源:互联网 发布:数字域名最贵的是哪些 编辑:程序博客网 时间:2024/05/20 20:01
网页可见区域宽: document.body.clientWidth;
网页可见区域高: document.body.clientHeight;
网页可见区域宽: document.body.offsetWidth (包括边线的宽);
网页可见区域高: document.body.offsetHeight (包括边线的宽);
网页正文全文宽: document.body.scrollWidth;
网页正文全文高: document.body.scrollHeight;
网页被卷去的高: document.body.scrollTop;
网页被卷去的左: document.body.scrollLeft;
网页正文部分上: window.screenTop;
网页正文部分左: window.screenLeft;
屏幕分辨率的高: window.screen.height;
屏幕分辨率的宽: window.screen.width;
屏幕可用工作区高度: window.screen.availHeight;
屏幕可用工作区宽度:window.screen.availWidth;
scrollHeight: 获取对象的滚动高度。
scrollLeft:设置或获取位于对象左边界和窗口中目前可见内容的最左端之间的距离
scrollTop:设置或获取位于对象最顶端和窗口中可见内容的最顶端之间的距离
scrollWidth:获取对象的滚动宽度
offsetHeight:获取对象相对于版面或由父坐标 offsetParent 属性指定的父坐标的高度
offsetLeft:获取对象相对于版面或由 offsetParent 属性指定的父坐标的计算左侧位置
offsetTop:获取对象相对于版面或由 offsetTop 属性指定的父坐标的计算顶端位置
event.clientX 相对文档的水平座标
event.clientY 相对文档的垂直座标
event.offsetX 相对容器的水平坐标
event.offsetY 相对容器的垂直坐标
document.documentElement.scrollTop 垂直方向滚动的值
event.clientX+document.documentElement.scrollTop 相对文档的水平座标+垂直方向滚动的量
- scrollTop、scrollLeft、scrollWidth、scrollHeight
- scrollTop、scrollLeft、scrollWidth、scrollHeight
- scrollHeight,scrollLeft,scrollTop,scrollWidth
- scrollTop、scrollLeft、scrollWidth、scrollHeight
- offsetTop.offsetLeft,offsetWidth,offsetHeight,offsetParent,scrollTop,scrollLeft,scrollWidth,scrollHeight区别
- 兼容各浏览器的clientWidth,clientHeight,scrollWidth,scrollHeight,scrollLeft,scrollTop
- 转:js中scrollHeight,scrollWidth,scrollLeft,scrolltop等差别介绍
- offsetLeft,offsetTop,offsetHeight,offsetWidth,scrollTop,scrollLeft,scrollHeight,scrollWidth
- scrollTop、scrollLeft、scrollWidth、scrollHeight http://www.cftea.com/c/2006/12/WOYNSH75QM4NPFRS.asp
- scrollHeight,scrollLeft,scrollTop,scrollWidth,offsetHeight,offsetLeft,offsetTop,event.clientX,event.clientY
- 网页里的各种高度和宽度(3)scrollTop、scrollLeft、scrollWidth、scrollHeight
- JS 中关于document和window对象的一些值: scrollHeight,scrollLeft,scrollTop,scrollWidth等。。
- offsetWidth clientWidth scrollWidth scrollTop scrollLeft等属性的细微区别
- SCrollTOP scrollHeight
- 让你彻底明白pageWidth、clientHeight、clientWidth、scrollTop、 scrollLeft、scrollHeight、scrollWidt的含义和用法
- scrollWidth,offsetWidth,clientWidth,width;scrollHeight,offsetHeight,clientHeight,height;offsetTop,scrollTop,top;offsetLeft,scrol
- 图示offsetWidth clientWidth scrollWidth scrollTop scrollLeft等属性的细微区别
- [前端] clientWidth offsetWidth scrollWidth scrollTop scrollLeft 与 clientX pageX offsetX 解析
- 正则表达式 判断 邮件名合法
- document.documentElement.scrollTop || document.body.scrollTop;
- NSIS脚本源码分析: 如何判断CPU平台类型
- 去除office 正版验证
- 把文字绘制在创建好的Image,然后放大缩小该Image
- scrollHeight,scrollLeft,scrollTop,scrollWidth
- htmlparser visitor用法 自定义标签 大文件快速读取,并分析,彻底解决 outofmemery错误
- 什么是CORBA
- VC连接数据库 --转载于http://www.blogjava.net/blogpig/archive/2007/06/15/124429.html
- 在mysql中修改表名的SQL语句
- 说话做事儿的几条准则(转自MOP)
- 点击文字弹出一个DIV层窗口代码
- 随机颜色的生成函数
- jquery常用方法总结