跳转到主要内容

在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 );

致谢

公司

makinacom

作者

变更日志

2.1 (2012-10-20)

  • 尚未有变更。

1.0 (2012-01-04)

  • 首次发布

项目详情


下载文件

下载适合您平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。

源分发

collective.js.imagesloaded-2.1.zip (13.5 kB 查看哈希值)

上传时间:

支持