Monday, October 5th, 2009
The classic animated gif, or the “loading…” text, could be now easily replaced thanks to this new jQuery plug-in.
Specially suited for a page loads of images, the final result showed in this demo looks really nice and flashy.
- Preload a whole web page.
- Preload a part of the page.
- Gets all images, <img> tags and background-image of your CSS
- Easy to implement.
- Adjustable loading bar.
- Tested in Firefox, Safari, Opera, Chrome, IE7, IE8 and IE6 (script will be ignored in IE6 though).
Full post, demo, and source code, are in Gaya Design blog.
To be honest, I instantly had a thought about this technique: wasn’t the DOMContentLoaded event purpose the one to avoid people waiting a full page download before they’re allowed to interact with it? … never mind, we cannot do much in any case in front of images dedicated layouts.
Posted by webreflection at 12:30 pm