Random Start Slide
-
Hey Josh,
great plugin – I have been using it in multiple projects.
Recently, I had to implement the possibility to use a randow startslide (I know this has been asked before), but I wanted to share my solution, maybe you want to add that option to the core.
in slideshow.js:
//static //var $totalSlides = 6; //dynamically: var $totalSlides = $j('.mslide').length; // Setup jQuery Cycle $j('.meteor-slides').cycle({ //... general Meteor Slides Code startingSlide: Math.floor(Math.random() * $totalSlides) });
Im making use of the startingSlide option, which is already included in the cycle plugin. It’s really a small, but useful addition.
Again, thanks for this great plugin!
Regards,
Constantin
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Random Start Slide’ is closed to new replies.