(function smoothscroll(){  
    var currentScroll = document.documentElement.scrollTop || document.body.scrollTop;  
    if (currentScroll > 0) {  
         window.requestAnimationFrame(smoothscroll);  
         window.scrollTo (0,currentScroll - (currentScroll/5));  
    }  
})();  

相关文章:

  • 2021-06-07
  • 2021-12-05
  • 2022-01-01
  • 2022-01-01
  • 2021-10-05
  • 2021-09-18
  • 2022-01-17
猜你喜欢
  • 2021-10-24
  • 2022-01-06
  • 2022-12-23
  • 2022-12-23
  • 2021-08-09
  • 2021-12-30
相关资源
相似解决方案