Lauren Smith![]()
YUISand fancifies the sorting and itemizing of a collection similar items
Updated:
CSS3 Transformation support added
Curve animation added
This code examples assumes that there is a button on your page with an id of sort
<script src="http://yui.yahooapis.com/3.1.1/build/yui/yui-min.js"></script>YUI({
//Last Gallery Build of this module
gallery: 'gallery-2010.03.24-20-12'
}).use('gallery-yuisand', function(Y) {
Y.one('#sort').on('click', function(e) {
var s = new Y.YUISand({
source : '.all',
destination : '.few'
});
e.preventDefault();
})
})No forum posts for this module.
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info