PDA

View Full Version : Ultimate Fade-in slideshow Random



ezio
04-03-2016, 03:26 PM
1) Script Title: Ultimate Fade-in slideshow

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/responsivedemo2.htm

3) Describe problem: not a problem more of a question

I had a random fade script working but I liked your comments loading on the images so started to play around adding "Ultimate Fade-in slideshow" to my website - is their away to make the order of pics random, so not always in the same order

jscheuer1
04-03-2016, 03:50 PM
Yes, it's already a displaymode option for the init, ex:


<script type="text/javascript">

var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [250, 180], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["http://www.dynamicdrive.com/dynamicindex4/pool.jpg"],
["http://www.dynamicdrive.com/dynamicindex4/cave.jpg"],
["http://www.dynamicdrive.com/dynamicindex4/fruits.jpg"],
["http://www.dynamicdrive.com/dynamicindex4/dog.jpg"] //<--no trailing comma after very last image element!
],
displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false, randomize:true},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 500, //transition duration (milliseconds)
descreveal: "always",
togglerid: ""
})

</script>

ezio
04-03-2016, 04:18 PM
thank you - that worked, helps if I read the documentation better :)

and thank you for the quick response