skip to navigation
skip to content

Not Logged In

collective.js.imagesloaded 2.1

Register JQuery imagesloaded plugin in Plone resource registry

Introduction

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

version: 2.1.0

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

Authors

Changelog

2.1 (2012-10-20)

  • Nothing changed yet.

1.0 (2012-01-04)

  • Initial release
 
File Type Py Version Uploaded on Size
collective.js.imagesloaded-2.1.zip (md5) Source 2012-10-20 13KB
  • Downloads (All Versions):
  • 20 downloads in the last day
  • 261 downloads in the last week
  • 503 downloads in the last month