jquery.waterfall
jquery.waterfall copied to clipboard
CSS error of box item
If the water fall js called before the css loaded,it will cause a css error,so I need to called following code to avoid those issue
$(window).load(function() {
var waterFallSetting = {
gap: 25,
gridWidth: [0, 400, 800, 1800, 2400],
refresh: 500
};
$('#newsContainer').waterfall(waterFallSetting);
$('#newsContainer2').waterfall(waterFallSetting);
});
You're right ! We would merge your code !