collective.js.imagesloaded 1.0
Register JQuery imagesloaded plugin in Plone resource registry
About jquery.imagesloaded
A small jQuery plugin that triggers a callback after all the selected/child images have been loaded. Because you can't do .load() on cached images.
$('#my-container').imagesLoaded( function( $images ) {
// callback provides one argument, the jQuery object of child images
console.log( $images.length + ' images have been loaded in ' + this )
});
You can call imagesLoaded on a set of images as well.
$('.article img').imagesLoaded( myFunction );
Credits
Changelog
1.0 (2012-01-04)
- Initial release
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| collective.js.imagesloaded-1.0.tar.gz (md5) | Source | 2012-01-04 | 5KB | 174 | |
- Author: JeanMichel FRANCOIS aka toutpt
- Home Page: https://github.com/collective/collective.js.imagesloaded
- License: GPL
- Categories
- Package Index Owner: toutpt
- DOAP record: collective.js.imagesloaded-1.0.xml

