是否有符合这些条件的 jQuery 画廊/幻灯片插件?
谁能给我指出一个符合这些标准的 jQuery 幻灯片/画廊插件(或者可以通过设置其选项进行自定义)?
- 可以插入到 div 中 - 不是弹出显示
- 无边框/缩略图/文件名/按钮 - 当显示元素时,这就是您所看到的
- 我需要能够以百分比形式设置画廊的最大高度和宽度页面尺寸。如果正在显示图像,则需要调整其大小以适应该图像,同时保持其纵横比。
- 可以显示任何类型的元素(虽然如果它只能显示图像我仍然感兴趣)
我已经看过一些插件,但我找不到合适的。有吗?感谢您的阅读。
Can anyone point me in the direction of a jQuery slideshow/gallery plugin that matches these criteria (or can be customized to through setting its options)?
- Can be inserted into a div - not a popup display
- No border/thumbnails/filenames/buttons - when an element is being displayed, that's all you can see
- I need to able able to set a max height and width for the gallery as a percentage of the page dimensions. If an image is being displayed, it needs to be re-sized to fit this whilst maintaining its aspect ratio.
- Can display any type of element (although if it can only display images I'm still interested)
I've had a look at some plugins, but I can't find one that is suitable. Is there one? Thanks for reading.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您应该看看 Thickbox 或 lightbox。
You should look at Thickbox or lightbox.
您想在弹出窗口中显示它吗?
你可以尝试 Cycle 插件 - 我已经用过它很多次了,它很稳定。要根据页面尺寸调整图像大小,您可以在应用插件之前使用 PHP 或 jQuery 来完成此操作。
You want to display it in a popup or not?
You can try Cycle plugin - I've used it many times and it's stable. For resizing the images according to the page's dimensions, you can do that before applying the plugin, either with PHP or jQuery.