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.
谁能解释如何使用 javascript 或 jquery 创建滑动图像查看器?从我所见,看起来所有图像都是并排的,然后按钮会根据该图像的宽度移动图像。显示下一张图片。这里有这些图像查看器之一。我不在滚动条之后。
如果您想要一个不错的插件,请查看AnythingSlider。
如果您需要教程,请查看Soh Tanaka 的这篇出色的教程 :)
或者在这里,因为 Soh Tanaka 的网站不再可用
这里有一个 jquery 插件
http://www.serie3.info/s3slider/
这看起来有点像你想要的 - 取决于你是需要控制还是只想要循环图像。