-
Randomly change multiple image sets
Hey guys.
Im looking to add a little more zazz to my website, if you take a quick look at my website you'll see that basically, I have one large picture (which is in turn, 3 smaller pictures) thats splits when you click on it, opening smaller hidden divs that hold my content.
What I'd like to do is randomly change the big picture on page load, just like a random image script.
is there any way to set up 3 different image arrrays that'd link back to the same random number generator to produce a 'set' of images to accomplish this task?
-
-
That's certainly possible, just like you described it. Alternatively you could use a single fnction that simultaneously sets all three images.
The shared random number idea is probably the easiest-- look for a script where this will work (basically any of them using a random number, that you can then link to the other random numbers).
Daniel -
Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks