Comveyor Belt script / random images and multiple images
1) Script Title:
Conveyor Belt Slideshow script
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamici...rightslide.htm
3) Describe problem:
The script itself is working ok. I would like to tweak it so it generates a random image from the start (for which I've found a few lines of code here as well) but since there's about 100+ images in this directory I'm using I'm trying something different.
I'm trying to implement this separate randomizing script.
- using the random script in the location of img src does generate a random image when first accessing or reloading the page, however the random image is then repeated
The line of code where the random image is called is
Code:
leftrightslide[1]='<a href="#"><img src="img/pics/rotate.php" border=0></a>'
so because it's only one line it can be expected that only one random image is called.
Question is on how I can generate a random image and how can any image generated by the conveyor script be random?
- I read elsewhere on this forum that more than 10 images or so might cause problems; question is
.....why is that?
......is this script capable of calling images from a directory of 100+ images?
Thanks!
(for helpful input)
-