Update: Unfortunately this does not 100% solve the problem, the script falls down when handling touch interactions when a scrolling section is bouncing/rubber banding. I don’t think this issue can be worked around (but would love to be proved wrong!)…
js的上下自动滚动,无缝对接.为什么会用到这个东西呢?因为我在做公司的官网项目的修改的时候.有一个产品介绍的页面,会有很多的产品出现在,中间部分的列表里.但是又不能够使用分页.所以我就在想如果,列表数据过多,又不能使用分页.那就用js的上下自动滚动,无缝对接.来展示列表吧!方法也不是我原创的.是我在网上看到的,然后改了一点点,放到自己的项目里,就能用了. var speed=40 var slide=document.getElementById("litsdetails"); var…