My index page is essentially one large image, sliced into a grid, with some slices having rollovers.
One sliced corner of this grid is for an image gallery. It has no rollover.
I have duplicated the slice. In a folder, I have about 25 images on these duplicate slices.
How can I have a different slice load from this folder each time the website appears (or is refreshed)?
Right now there is a "placeholder" slice where the actual images go.
They do not need to be randomized. They can be sequential if it is easier.
The page is in HTML code, and I'd prefer not to go PHP if at all possible.
Most scripts I've seen for random image loading deal in PHP, and contain lines dealing with margins and so forth. As if to place the image somewhere on the web page.
What I am doing is trying to shuffle sliced images into an already predefined spot. Not set up the spot as well.
The placeholder slice is called up normally using the img src method.
Can this be done with just javascript....?



