[jQuery] Re: image preload problem (encore)

2007-09-26 Thread Mika Tuupola
On Sep 26, 2007, at 2:47 AM, dimitrisX wrote: I am trying to preload some images using either one of the functions below. They don't seem to load. I really could use your help here. Something similar which works for me. Maybe you can find answer from there?

[jQuery] Re: image preload problem (encore)

2007-09-26 Thread dimitrisX
Thanks for your reply. I want to present a series of images (70k each) as a slideshow when the page loads. I am currently using the innerfade plugin for that purpose. So, to be unobstrusive I include an image in my html so that in case js is disabled in the browser the client sees only that

[jQuery] Re: image preload problem (encore)

2007-09-25 Thread Erik Beeson
There are a lot of things that seem very strange about what you're doing. Basic preloading can be a simple as: function loadImages() { $.each(arguments, function(i, url) { var image = new Image(); image.onload = function() { // do