Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个很长的图像。我想将图像分成大约 10 个(这样每个部分都是一个单独的链接),但是让整个东西平滑地向一个方向滑动(并重复)。我还希望能够从图像中的任何点随机开始。我似乎找不到一个好的 jQuery 插件来开始这个。你有什么想法?
谢谢 :)
您可以使用带有 setInterval 函数的 JavaScript 动态更改 div 背景图像的位置