Я получаю ошибку ниже:
[цикл] прекращается; слишком мало слайдов: 1
Ниже приведен код для цикла jQuery. Я не уверен, почему это выходит в Chrome
var inners = $('ul#output li').cycle().cycle('stop');
var slideshow = $('ul#output').cycle({
fx: 'scrollHorz',
speed: 300,
timeout: 0,
startingSlide: 0,
before: function() {
// stop all inner slideshows
inners.cycle('stop');
// start the new slide's slideshow
$(this).cycle({
fx: 'fade',
timeout: 1000,
autostop: true,
end: function() {
// when inner slideshow ends, advance the outer slideshow
slideshow.cycle('next');
}
});
}
});
$.featureList(
$("#tabs li a"),
$("#output li"), {
start_item : 0
}
);
Что может быть не так?