Topic: time-delayed changing of a displayed image

When a webpage is being viewed, I would like one of the images in the page to change after a few seconds to another one. Ie, say, 10 images displayed on a rotating basis.
How can this be done in html or php please?

Vote up Vote down

Re: time-delayed changing of a displayed image

Here's one. http://www.dyn-web.com/code/rotate_images/

Vote up Vote down

Re: time-delayed changing of a displayed image

It's often done with javascript; here's one:-

http://www.dynamicdrive.com/dynamicinde … deshow.htm

Ultimate Fade-In Slideshow (v1.51): copyright Dynamic Drive (http://www.dynamicdrive.com)

This one pauses when you hold the mouse over an image, but none show if javascript is disabled.

Search for "Lightbox" which has more complicated versions which show a static image if javascript is disabled.

Last edited by Wickham (December 27, 2008 12:47 pm)

Vote up Vote down

Re: time-delayed changing of a displayed image

Wickham wrote:

It's often done with javascript; here's one:-

http://www.dynamicdrive.com/dynamicinde … deshow.htm

Ultimate Fade-In Slideshow (v1.51): copyright Dynamic Drive (http://www.dynamicdrive.com)

This one pauses when you hold the mouse over an image, but none show if javascript is disabled.

Search for "Lightbox" which has more complicated versions which show a static image if javascript is disabled.

Can't go wrong with Dynamicdrive!

Vote up Vote down

Re: time-delayed changing of a displayed image

jQuery might be an ideal solution for you.  Take a look at the following demo:

http://malsup.com/jquery/cycle/

Has a few nice effects you can implement on your slideshow.

Vote up Vote down