日期:2014-05-16  浏览次数:20278 次

js获得页面滚动高度最简洁的写法

var sh = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0;