开发者

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)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜