"rotating" image on homepage

hello —

I was wondering if anyone knew the code, I believe it’s Java, to have 3 or 4 different images on the index.html everytime a user clicked. I don’t want it to actually spin - but just rotate through the images so something different comes up… apple.com does that… Any links or code for me? Just spent some time searching but had no luck, I know i’ve seen it before.

THANK YOU!!!

Alinser

hmmm… i just did a quick google and this was the first result…

http://www.javascript-page.com/ranimage.html

I assume all you want is random images to show up right?

That should just be some simple javascript cycling through a list of images. search for image swapping or something on google. it is pretty straight forward. My google results:

Link 1
Link 2
Link 3

All look very promising.

You can also use PHP if your looking for a more compatible approach. That’s what Nokrev uses on his sig.

Ah yea, that’s true… I’m not sure what one he uses but I know ALA has a pretty nice script that does that… A Better Image Rotator – A List Apart

Thanks for all of the responses – I checked into all of the links & tried to work it out on my page, but have not had success. I’m trying to get an effect like gettyimages.com where each time you go to that homepage there is a different image, but I think just 3 or 4 rotate through.

I keep running into trouble because of the way my page is set up with all of the js from rollovers & I don’t want the image in the ‘<head>’ but the ‘<body>’… This is the page I’m looking to have the image rotate on: www.mercurygallery.com/index2.html.

I’m mainly an HTML via Dreamweaver person, PHP & java are a little over my head (trying to learn!!!) Any further help would be appreciated!

THANK YOU

Thanks for all of the responses – I checked into all of the links & tried to work it out on my page, but have not had success. I’m trying to get an effect like gettyimages.com where each time you go to that homepage there is a different image, but I think just 3 or 4 rotate through.

I keep running into trouble because of the way my page is set up with all of the js from rollovers & I don’t want the image in the ‘<head>’ but the ‘<body>’… This is the page I’m looking to have the image rotate on: www.mercurygallery.com/index2.html.

I’m mainly an HTML via Dreamweaver person, PHP & java are a little over my head (trying to learn!!!) Any further help would be appreciated!

THANK YOU

oops - stupid mouse locked up on me - sorry about that!