阅读背景:

AmazeUI滚动到底部或者滚动到顶部甚至任意位置

来源:互联网 

滚动到底部或者顶部或者屏幕任意位置代码

$('#doc-scroll-to-btm').on('click', function() {
    var $w = $(window);
    $w.smoothScroll({position: $(document).height() - $w.height()});
  });$('#doc-scroll-to-btm'



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: