[英]jQuery supersized doesn't show a slideshow
I'm trying to make a simple slideshow on the background with Supersized, however for some reason it seems to only show one slide. 我正在尝试使用Supersized在背景上进行简单的幻灯片放映,但由于某种原因,它似乎只显示一张幻灯片。
$.supersized({
slideshow : 1,
autoplay : 1,
slide_interval : 1000,
transition : 1, // 0-None, 1-Fade, 2-Slide Top, 3-Slide Right, 4-Slide Bottom, 5-Slide Left, 6-Carousel Right, 7-Carousel Left
transition_speed : 1000,
min_height : 0,
min_width : 0,
horizontal_center : 1,
fit_portrait : 1,
slides : images
})
When I check what's inside 'images', it returns me an array with 2 objects, but when I check the source code, I can see it's only showing one images, while it should normally show an 'ul' with all images. 当我检查'images'中的内容时,它返回一个包含2个对象的数组,但是当我检查源代码时,我可以看到它只显示一个图像,而它通常应该显示所有图像的'ul'。
Make sure you're loading the appropriate 'supersized' js file. 确保您正在加载适当的'超大'js文件。 I believe there is a difference between the
supersized.3.2.7.js
found in the 'slideshow' folder, and the supersized.core.3.2.1.js
located in the 'Core' folder. 我相信'slideshow'文件夹中的
supersized.core.3.2.1.js
和'Core'文件夹中的supersized.3.2.7.js
之间存在差异。 I think 'core' doesn't include the slideshow feature. 我认为'核心'不包括幻灯片功能。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.