preloading images for jcarousel and other 'slide shows' was the reason
I wrote traverseDir it takes removes the need for jcarousel's built in
external file of images for the automatically generated pages from my
apache server. I didn''t like the delays that were present when it
went to get the next few pictures.

traverseDir is at http://jpassoc.com/demo/traverseDir/ and while I'm
not currently using  jcarousel at the moment, my dog's site does
similar slide shows (1 at a time), the code

try {var img = new Image();img.src = url} catch(e){};

for each file seems to get the loads all pre-fetched!

The big question I had to answer was will the user actually look at
all those pictures? Or, should I get the images on demand, but get a
little delay.

On 1/14/07, djl <[EMAIL PROTECTED]> wrote:
>
> Hi there,
> Firstly, thanks very much for jcarousel.
>
> I have an issue with using it - there's currently 103 images to load and
> this amount will grow over time.
> The problem I'm having is that I always need to display the 3 most recent
> images upon hitting the page - in this case, the start items need to be
> image 101, image 102 and image 103.  I can do this no problem but the
> initial scroll to images 101-103 shows empty spaces since image 1 to 100 are
> loading sequentially in the background.
> Ideally, I'd like to make this dynamic ie, loading 3 images at a time rather
> than the current long list of images 1-103 (either within the page or using
> an external .txt file).
> So, can this be done by calling a page on the server to return the 3
> required images (either the next 3 or previous 3) or is there a way to
> preload the images either using a dynamic method (3 at a time) or the whole
> 103?
> Hope that makes sense.
> Thanks,
>
>
> djl
>
> --
> View this message in context: 
> http://www.nabble.com/Preloading-images-in-jcarousel-tf3006465.html#a8355819
> Sent from the jCarousel mailing list archive at Nabble.com.
>
>
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>


-- 
Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to