滚动条使用的触发事件:

$(window).scroll(function() {
       var thisscroll = $(window).scrollTop();

}

获取 当前元素距离顶部的高度:

$("#sjwz").offset().top

相关文章:

  • 2021-06-21
  • 2021-06-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-06
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案