gemma1865 Posted December 27, 2008 Report Share Posted December 27, 2008 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? Quote Link to comment Share on other sites More sharing options...
PicnicTutorials Posted December 27, 2008 Report Share Posted December 27, 2008 Here's one. http://www.dyn-web.com/code/rotate_images/ Quote Link to comment Share on other sites More sharing options...
Wickham Posted December 27, 2008 Report Share Posted December 27, 2008 (edited) It's often done with javascript; here's one:- http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm'>http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.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. Edited December 27, 2008 by Wickham Quote Link to comment Share on other sites More sharing options...
PicnicTutorials Posted December 27, 2008 Report Share Posted December 27, 2008 It's often done with javascript; here's one:- http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm'>http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.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! Quote Link to comment Share on other sites More sharing options...
squeezedjuicybits Posted December 27, 2008 Report Share Posted December 27, 2008 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.