获取当前ul距离初始有多长/高

parseInt($("#order ul").css("top"))

animate 滚动

function scroll(){
  $now = parseInt($("#order ul").css("top"))-33;
$("#order ul").animate({top: $now});
}

循环周期 

setInterval(srollUp,2000);

 

 

相关文章:

  • 2022-12-23
  • 2021-11-18
  • 2022-02-25
  • 2021-12-30
  • 2021-09-24
  • 2022-12-23
  • 2021-11-17
  • 2021-06-04
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-07
  • 2021-07-18
  • 2022-12-23
  • 2021-05-23
相关资源
相似解决方案