Hi,

I have a problem with the Cycle plugin (jQuery-based slideshow,
http://malsup.com/jquery/cycle/ ) that I hope someone here can help me
out with.

Currently, Cycle loads all the images up front. That's a problem for
me - the slideshow I'm working on may have a very large number of
images, not all of which will necessarily be shown. What we need is
some way of making it only preload the image that's going to be shown
next.

The questions:
- Does anyone know if there's a way to make Cycle do this as it is?
Having looked through the code, I'd say no, but Javascript isn't my
first language, so it's best to ask the experts. Perhaps someone's
performed this modification before?
- Assuming the answer to the above is 'no', does anyone have any
pointers for me regarding modifying Cycle to only preload the next
image? It sources its images from <img src=...> tags in its own div -
does this mean that the browser will immediately try to load all the
images, regardless of anything I do in Javascript?

Go easy on me - I haven't done any Javascript in many years, things
have changed a lot and my brain can only soak up a little at a time!

All comments welcome.

(side note -  if I'm able to solve this one, the solution would
probably help the writer of the recent post "slideshow for big
images")

Mike.

Reply via email to