KaiserEMP
12/6/2018 - 11:34 AM

Slider imagesloaded/whiteflash/severalSliders

js

  $('.eda-module-type-slider .slides').imagesLoaded(function () {
    //console.log('all images loaded');

    $('.eda-module-type-slider .slides').addClass('images-loaded');
    $('.eda-module-type-slider').each(function (index, value) {
      var slides = $(this).find('.slide');
      if (slides.length > 1) {
        jFadeBanner($(this));
      }
    });
  });