李晓亮的博客

导航

2008年10月6日

【转】scrollLeft,scrollWidth,clientWidth,offsetWidth

摘要: 本文转自:http://www.cnblogs.com/mrhgw/archive/2006/11/08/553737.html 补充: scrollHeight: 获取对象的滚动高度。 scrollLeft:设置或获取位于对象左边界和窗口中目前可见内容的最左端之间的距离 scrollTop:设置或获取位于对象最顶端和窗口中可见内容的最顶端之间的距离 scrollWidth:获取对象的滚... 阅读全文

posted @ 2008-10-06 23:30 LeeXiaoLiang 阅读(618) 评论(0) 推荐(0) 编辑