deGama
10-18-2012, 11:35 AM
1) Script Title: Ultimate Fade-In slide show
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
3) Describe problem:
Hello. Great script. Works brilliantly, however, I was just wondering if anyone had produced a solution whereby a limited number of random slides are selected for display?
For example,
imagearray: [
["image1.jpg", "http://site1.com"],
["image2.jpg", "http://site2.com"],
["image3.jpg", "http://site3.com"],
["image4.jpg", "http://site4.com"],
["image5.jpg", "http://site5.com"],
["image6.jpg", "http://site6.com"],
["image7.jpg", "http://site7.com"]
],
But just select 4 slides from the 7 to display.
It seems easy enough to select random elements to insert in the imagearray[], aside from adding no trailing , to the final element.
Many thanks!
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
3) Describe problem:
Hello. Great script. Works brilliantly, however, I was just wondering if anyone had produced a solution whereby a limited number of random slides are selected for display?
For example,
imagearray: [
["image1.jpg", "http://site1.com"],
["image2.jpg", "http://site2.com"],
["image3.jpg", "http://site3.com"],
["image4.jpg", "http://site4.com"],
["image5.jpg", "http://site5.com"],
["image6.jpg", "http://site6.com"],
["image7.jpg", "http://site7.com"]
],
But just select 4 slides from the 7 to display.
It seems easy enough to select random elements to insert in the imagearray[], aside from adding no trailing , to the final element.
Many thanks!