skip to navigation
skip to content

collective.js.imagesloaded 1.0

Register JQuery imagesloaded plugin in Plone resource registry

Downloads ↓

Introduction

Register jquery.imagesloaded plugin in Plone's resource registry.

version: 1.0.4

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

Companies

makinacom

Authors

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