javascript 图像幻灯片(jquery 或 YUI)
我正在寻找一个基于 javascript 的图像幻灯片解决方案。我收到的要求:
- 幻灯片中添加了一些图像,并且它一个又一个地淡出图像,然后从第一张图像重新开始
- 应该有一个导航,以便手动转到下一个/上一个图像
- 应该有一个选项暂停幻灯片并再次继续
jquery 循环插件可以处理这些吗? YUI 2 框架有其他替代方案吗?
I am looking for a javascript based image slideshow solution. Requirements I received:
- A few images are added to the slideshow, and it fades one image after another and then starts again from the first image
- There should be a navigation in order to manually go to the next / previous image
- There should be the option to pause the slideshow and continue again
Can the jquery cycle plugin handle these? Are there any alternatives for the YUI 2 framework?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
Jquery Cycle 插件绝对可以处理这个问题。查看此页示例了解更多详细信息。
Jquery Cycle plugin can definiately handle this. Check out this page of examples for more details.
对于 YUI 3:
http://freshcutsd.com/yui-slideshow/
-Eric
For YUI 3:
http://freshcutsd.com/yui-slideshow/
-Eric
YUI Carousel 组件似乎很合适:
http://developer.yahoo。 com/yui/examples/carousel/csl_circular_source.html
The YUI Carousel component seems like a good fit:
http://developer.yahoo.com/yui/examples/carousel/csl_circular_source.html
看看伟大的灯箱克隆矩阵。它主要基于在内容上方的 div 中打开的内容,但许多都提供幻灯片功能。只需使用右上角的复选框来过滤您想要的内容。
Take a look at the great Lightbox Clones Matrix. It's mainly based around ones which open in a div above your content, but many offer slideshow capabilities. Just use the checkboxes in the top right to filter to what you want.