If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Javascript Image Rotator from folder

Im looking to setup a project for my uni assignment. its going to be a time radio site and i'm looking to create a page that has some javascript to carry out an image rotation.

I want to have:
- three images side by side
- all images to rotate from a folder containing 100+ pictures
- they all have different file names and extensions but i can change them if need be
- i want the images to rotate automatically without the page having to be reloaded or mouseovers or anything
- i would like them to rotate on different time frames i.e. first picture 3 sec rotation, second picture 5 seconds, third image 7 seconds.... something like that

if any can help me with this i would be really grateful...

iv tried scanning the web but come up short. cant use php or anything its got to be a html page using javascript.

just to point out im not cheating by the way the module im doing it for is for media design not programming just cant find the code to do what i want.

The big problem for me would be to get the images in the folder.
I can do it with IE only with a security prompt but that isn't good enough here. I also
have a PHP script that can do it but you have disqualified that too.

The big problem for me would be to get the images in the folder.
I can do it with IE only with a security prompt but that isn't good enough here. I also
have a PHP script that can do it but you have disqualified that too.

This is close to what I'm looking for, and PHP would be fine on the forum that I'm running. Could you please post that code, or email it to me, thanks.

That's brilliant! Is there any way to make it generate something other than an array? Such as, my code uses main images and thumbnails, rather than a slideshow, and I'd like this to generate the list for that. My list needs to be like this: