在使用网页中的位置时经常需要知道已经滚动的宽度或高度,但获取这些数据时,不同浏览器有些差异。 转载 http://blog.sina.com.cn/s/blog_51c99bb20100wqvb.html 转载于:https://www.cnblogs.com/sourcebank/archive/2013/05/29/3105727.html