Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS error of box item #10

Open
chungchi300 opened this issue Sep 22, 2015 · 1 comment
Open

CSS error of box item #10

chungchi300 opened this issue Sep 22, 2015 · 1 comment

Comments

@chungchi300
Copy link
Contributor

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);
    });
@Carr1005
Copy link
Contributor

You're right ! We would merge your code !

@LinZap LinZap closed this as completed Sep 22, 2015
@LinZap LinZap reopened this Sep 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants