I recently added image preloading (the previous and next images start to load while viewing the current image) to http://www.projectatomic.com/litebox jQuery Litebox , which should help with reduce delays. You could try adding the setInterval to the onload event in the $.litebox.resize() method. I also cleaned up the code to enable easier access to properties, you could try something like:
if (this.i+1 < this.g.length) { setInterval(.... That might stop the last image from continually clicking (maybe) I too am also trying to be lazy D Brent Pedersen-2 wrote: > > thanks, i have looked at that one. and i have dug into the code some. > doing what you suggest _seems_ fine, but then, you get to the last > image and it keeps > triggering click. also, instead of fading from 1 image to the next it > shows the loading gif in between. and in that slideshow, i think the > loading gif is never hidden so if the image is too small, you can > still see the gif. > the other thing with a timeout is a large image might take 4 seconds > to load so you see it for only a second. a small image will load > faster so you'll see it for longer. > > of course, all of these could be addressed. i'm just trying to be lazy. > -b > > On 2/22/07, Benjamin Sterling <[EMAIL PROTECTED]> wrote: >> Brent, >> You can check out this plugin >> http://www.projectatomic.com/litebox/ and you can put a >> setInterval to trigger the next click. >> setInterval ($('#nextlink').trigger('click'), 5000); this >> is not tested but I think it is somewhat right. >> >> >> -- >> Benjamin Sterling >> http://www.KenzoMedia.com >> http://www.KenzoHosting.com >> _______________________________________________ >> jQuery mailing list >> discuss@jquery.com >> http://jquery.com/discuss/ >> >> > > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > > -- View this message in context: http://www.nabble.com/interface-imagebox-tf3275634.html#a9381499 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/