Skip to content Skip to sidebar Skip to footer

WOW.js + Query Loader 2

I am having an issue with WOW.js and Query Loader 2. The reason I use Query Loader 2 is because I am using masonry.js (masonry.desandro.com/) to align my portfolio 'pinterest-like'

Solution 1:

Initialise WOW.js within the onLoadComplete callback:

/* Query Loader 2 */
$("body").queryLoader2({
    backgroundColor: "#3f4134",
    percentage: true,
    deepSearch: true,
    barHeight: 0,
    completeAnimation: "fade",
    onLoadComplete: function() {
        new WOW().init();
    }
});

Post a Comment for "WOW.js + Query Loader 2"