tags:

views:

42

answers:

3

http://jquery.malsup.com/cycle/

Is is possible to randomise the cycled content with the jquery jcycle plugin?

Cheers

Andy

+1  A: 

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.

Nick Craver
+1  A: 

http://jquery.malsup.com/cycle/options.html

There is a random option in the option reference. Try that.

Kevin
A: 

probably this:

random: 0, // true for random, false for sequence (not applicable to shuffle fx)

Andrew Welch
works, unsurprisingly!
Andrew Welch