randomise cycle content in jquery jcycle plugin
http://jquery.malsup.com/cycle/
Is is possible to rand开发者_C百科omise the cycled content with the jquery jcycle plugin?
Cheers
Andy
There's a random
option for this, set it to 1
(or true
), like this:
$('#myDiv').cycle({
fx: 'cover',
random: 1
});
See the demo here and full options list here.
http://jquery.malsup.com/cycle/options.html
There is a random
option in the option reference. Try that.
probably this:
random: 0, // true for random, false for sequence (not applicable to shuffle fx)
精彩评论