• $('html,body').scrollTop(距页面顶部的值) 可以让页面滚动到指定位置。
  • jQuery 方法 offset 可以获取元素距页面顶部的值。
  • jQuery 方法 animate 可以做动画。
  • 最后编辑于:2017-12-10 06:30