osTop + speed与osTop - speed的区别?
1.var speed = Math.floor(-osTop/6);
document.documentElement.scrollTop = document.body.scrollTop = osTop + speed;
2.
var speed = Math.floor(osTop/6);
document.documentElement.scrollTop = document.body.scrollTop = osTop - speed;
这两者在应用上有什么区别?
scrollTop的是不是不能为负值?