Posted on 2006-07-15
I've about 60 images and I like show 4 random not-repeat when page start, maybe nice if these are repeated each two minutes or so.
My main dificulties are in be sure I select not repeated numbers.
I would like have the list of images in an external file (images.js or images.txt) for easy maintain. the list can be in the format
then I can have a table with 4 cells and put one image in each cell or so on.
Of course I can today having 60 images and next month 64, then the numbers can be calculated using array.length or so on.
Thanks in advance.