开发者

randomise cycle content in jquery jcycle plugin

开发者 https://www.devze.com 2022-12-24 02:28 出处:网络
http://jquery.malsup.com/cycle/ Is is possible to rand开发者_C百科omise the cycled content with the 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

精彩评论

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

关注公众号