Jump to content

slideshows


chadmichael

Recommended Posts

I need some best practice advice on making a slideshow. I just need to incorporate a slideshow of images into a web page, but what is the best technique. My plan: I'll just have a javascript timer that makes a nother request to the server and comes back with the next image in the sequence at given intervals. This seems like it can't be the best thing, particularly since there's the potential for quite a bit of other content to be on the page that contains the slide show; all of this other content would be re- fetched every time the slide changed.Of course, if all of the images were pulled down at once the slide show would then be quite efficient, but this seems like a huge hit on the initial request. Is there anyway to start the slide show while the other images are downloading? I'm sure there must be based upon the performance of sites that I've seen doing similar tasks, but how?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...