1 用animate啊 2 $(btn).click(function(){ 3 var t = $(window).scrollTop(); 4 $('body,html').animate({'scrollTop':t+200},100) 5 })
结合文档遮挡的小案例!注意收回的效果!
http://nj.gzwhir.com:50208/fjcfrp201604117754/shzr/list_43.aspx
1 用animate啊 2 $(btn).click(function(){ 3 var t = $(window).scrollTop(); 4 $('body,html').animate({'scrollTop':t+200},100) 5 })