Skip to main content

Register JQuery imagesloaded plugin in Plone resource registry

Project description

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

Companies

makinacom

Authors

Changelog

2.1 (2012-10-20)

  • Nothing changed yet.

1.0 (2012-01-04)

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.js.imagesloaded-2.1.zip (13.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page