摘要:
window.onscroll = function(){ var sl = -Math.max(document.body.scrollLeft,document.documentElement.scrollLeft); document.getElementById("id").style.le 阅读全文
摘要:
var top = document.documentElement.scrollTop + document.body.scrollTop; document.documentElement.scrollTop = 3000; $('body,html').animate({scrollTop:3 阅读全文