toutpt/collective.js.imagesloaded


JQuery imagesloaded plugin registration for the Plone CMS

Language: Python


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

Project Statistics

Sourcerank 2
Repository Size 98.6 KB
Stars 2
Forks 3
Watchers 0
Open issues 0
Dependencies 2
Contributors 1
Tags 1
Created
Last updated
Last pushed

Top Contributors See all

Jean-Michel

Recent Tags See all

1.0 January 04, 2012

Interesting Forks See all

collective/collective.js.imagesloaded
JQuery imagesloaded plugin registration for the Plone CMS
Python - Last pushed - 1 stars - 1 forks

Something wrong with this page? Make a suggestion

Last synced: 2019-02-14 06:36:21 UTC

Login to resync this repository