April 7, 2012

Loading images gracefully

Question by Andy

How can I load the images more gracefully with this slideshow?

http://jsfiddle.net/AndyMP/CkuKe/11/

Larger images take longer to load, obviously and it looks messy when they load on top of each other like that.

Any help is appreciated.

Answer by Starx

For your case, there is a plugin called waitforimages, which is perfect.

Just run the function when all the images have been loaded.

Author: Nabin Nepal (Starx)

Hello, I am Nabin Nepal and you can call me Starx. This is my blog where write about my life and my involvements. I am a Software Developer, A Cyclist and a Realist. I hope you will find my blog interesting. Follow me on Google+

...

Please fill the form - I will response as fast as I can!