cwpGallery
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:..yet another mootools gallery with preloading, transition effects and all that jazz
Nivoo-Slider
============

The Nivoo-Slider is an image gallery based on the jQuery Plugin NivoSlider (http://nivo.dev7studios.com/). It features 18 different transition effects.

![Screenshot 1](http://www.johannes-fischer.de/assets/Labs/labs-cwpGallery.png)

How to use
----------

Just include cwpGallery.js and cwpGallery.css to your site:

#HTML
	
	
	
And the gallery structure:
	
#HTML
    	
	
And then initialize the slider using the domready event:

#JS
    window.addEvent('domready',function(){

        // The simple way
        new cwpGallery($('Gallery'));
        
        // The more advanced way
        ...
    
    }

Documentation
-------------

## Class: cwpGallery ##

### Syntax ###

#JS
	var slider = new cwpGallery(element[, options]);
	
#### Arguments ####
1. element - (mixed) An Element or the string id of an Element to apply the gallery to.
2. options - (object, optional) The cwpGallery options object, described below:

#### Options ####
- enableKeys - (bool: default is true)
- fxDuration - (int: default is 500)
- fxTransition -(string: dfault is cubic:out)
- scrollRange - (number: default is 4) 

License
-------
MIT license

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