Random Boxes

Unknown width of boxes.

Sample Code

		  
YUI().use('masonry', function (Y) {
    new Y.Masonry({
        node: '#container',
        itemSelector: '.box',
        columnWidth: 90
    });
});
		  
		  

Demo


Recommend: Using Yahoo! CDN Service

		  
YUI({
    //Last Gallery Build of this module
    gallery: 'gallery-2012.08.01-13-16'
}).use('gallery-masonry', function (Y) {
    var masonry = new Y.Masonry({
        node: '#container',
        itemSelector: '.box',
        columnWidth: 90
    });
});