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

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
collective.js.imagesloaded-2.1.zip (13.5 kB) Copy SHA256 hash SHA256 Source None Oct 20, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page