Directory path of images for waterfall jQuery plugin
I'm using the jquery WATERFALL plugin. I would like the script to display
all of the images from a folder rather than using JSON data files. Is this
possible?
<script>
$('#container').waterfall({
itemCls: 'item',
colWidth: 222,
gutterWidth: 15,
gutterHeight: 15,
checkImagesLoaded: false,
isAnimated: true,
animationOptions: {
},
path: function(page) {
return 'data/data1.json?page=' + page;
}
});
</script>
No comments:
Post a Comment