Slides randomly
-
I would like to fetch the slides randomly.
How is this possible?In my template i added the option random: true; but it doesn′t work.
// @see: https://jquery.malsup.com/cycle2/api
$.fn.cycle.defaults = {
random: true,
allowWrap: true,
autoSelector: ‘.cycle-slideshow’,
delay: 0,
easing: null,
fx: ‘fade’,
hideNonActive: true,
loop: 0,
manualFx: undefined,
manualSpeed: undefined,
maxZ: 100,
pauseOnHover: false,
reverse: false,
slideActiveClass: ‘cycle-slide-active’,
slideClass: ‘cycle-slide’,
slideCss: { position: ‘absolute’, top: 0, left: 0 },
slides: ‘> img’,
speed: 500,
startingSlide: 0,
sync: true,
timeout: 4000
- The topic ‘Slides randomly’ is closed to new replies.