My preloader doesnt show when I have two function using Imagesloaded. Works fine when I disable imagesloaded on one. Need to have ablity to use three or four depending.
Below I placed the CSS to remove loader, for some reason this does not work when I load it in the function above after imagesLoaded. Perhaps if I could get that work, it would solve the problem.
function triggerCallback() {
callback.call($this, $images),
$("div.masonry-loading").css({'display': 'none'});
}
Tried a bunch of stuff, I bet it something simple. Anyway help would be greatly appreciated.
My preloader doesnt show when I have two function using Imagesloaded. Works fine when I disable imagesloaded on one. Need to have ablity to use three or four depending.
My preloader div and SCSS.
CSS:
Here is my function for different columns.
Below I placed the CSS to remove loader, for some reason this does not work when I load it in the function above after imagesLoaded. Perhaps if I could get that work, it would solve the problem.
Tried a bunch of stuff, I bet it something simple. Anyway help would be greatly appreciated.