I still for my own education want to see an elegant jQuery version of a construct like this - Note the image filenames are 1 based and not 0 based :
var nofImages = 10; // user defined
var slideShowArray = new Array(nofImages); // cannot use [nofImages] of course
for (var i=0, n=slideShowArray.length;i<n;i++) {
slideShowArray[i]="/images/image"+(i+1)+".jpg";
}
or perhaps according to the above mentioned articles it should be
var nofImages = 10; // user defined
var slideShowArray = [];
for (i=nofImages;i>0;i--) {
slideShowArray[(i-1)]="/images/image"+i+".jpg";
}
Thanks