gLoad
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:Lazy load images for galleries/albums
#gLoad a Jquery based lazy loading plugin for image galleries

[**Simple usage**]

*Sample Markup:*

```html



```

*Simple JS:*

```javascript
$(function() {
	$('.lazy-img').gLoad();
});
```

*With preloader:*
```javascript	
$(function() {
	var options = {
		placeholder : 'images/loading-small.gif', 
		effect : 'fadeIn', 
		placeholderAsBg : true
	};
	$('.lazy-img').gLoad(options);
});
```

[**Options**]

* placeholder - path to image to preload. Default none.
* placeholderAsBg - Will use the placeholder image as a css style background image positioned center center. Default false.
* effect - The Jquery effect to run when the image in loaded. Default none.
* event - The Jquery event to fire. Default "scroll"
* container - Context. Default window.

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。