Posted: March 21, 2012 in Web
After searching for a solution to show a random image from the sequence using jquery-cycle, I found this post with a simple (undocumented) solution.
Just add the following line to your cycle function, replacing 4 with the total number of slides:
startingSlide: Math.floor(Math.random()*4)
Leave a comment
Did this article help you? Do you have a different opinion? Feel free to leave a comment or ask questions.