在Plone资源注册中注册JQuery imagesloaded插件
项目描述
简介
在Plone资源注册中注册jquery.imagesloaded插件。
版本:2.1.0
关于jquery.imagesloaded
一个小型的jQuery插件,在所有选择的/子图像加载完毕后触发回调。因为你不能对缓存的图像使用.load()。
$('#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 )
});
你也可以在一系列图像上调用imagesLoaded。
$('.article img').imagesLoaded( myFunction );
致谢
公司
变更日志
2.1 (2012-10-20)
尚未有变更。
1.0 (2012-01-04)
首次发布