jquery.waterfall icon indicating copy to clipboard operation
jquery.waterfall copied to clipboard

CSS error of box item

Open chungchi300 opened this issue 10 years ago • 1 comments

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);
    });

chungchi300 avatar Sep 22 '15 04:09 chungchi300

You're right ! We would merge your code !

Carr1005 avatar Sep 22 '15 13:09 Carr1005