[jQuery] Re: image preload problem (encore)

2007-09-26 Thread dimitrisX
load(function() { > loadImages(['foo.jpg', 'bar.jpg', 'far.jpg'], function() { > $('#images').append(this); > }, function() { > $('#images').show(); > }); > > }); > > It kind of depends on your ap

[jQuery] image preload problem (encore)

2007-09-25 Thread dimitrisX
Hello, 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. /// version 1 jQuery.preloadImages = function() { for(var i = 0; i').attr('src', arguments[i]); } } /// version 2 (not quite like the or

[jQuery] image preloading problem

2007-09-25 Thread dimitrisX
hello, I am trying to preload some images using the code i found in http://www.texotela.co.uk/code/jquery/preload/ and http://www.appelsiini.net/2007/6/sequentially-preloading-images. /// version 1 jQuery.preloadImages = function() { for(var i = 0; i').attr('src', arguments[i]); }