Will
Will

Reputation: 4528

Start Slideshow On Image Load

I've got a simple slideshow I'm creating using jQuery for a Peruvian client at www.hostalandenes.com. We have a relatively unique problem here in Peru that the internet tends to be extremely slow, and I think the slideshow looks cheesy when it starts and the images are only 10% loaded.

Is there a way to trigger the start of the slideshow only when the images have loaded? I tried to trigger the start of the slideshow with a load binding to the first image, but that only triggered when the image is actually loaded from the server, and not from the cache.

Thanks in advance!

Upvotes: 2

Views: 354

Answers (1)

Will
Will

Reputation: 4528

Ended up just using the $(window).load trigger, and it works fine.

Upvotes: 1

Related Questions