Skip to content

Instantly share code, notes, and snippets.

@KaiserEMP
Created December 6, 2018 11:34
Show Gist options
  • Select an option

  • Save KaiserEMP/3a8ec23e4bd17ad8386e47bf7eab6606 to your computer and use it in GitHub Desktop.

Select an option

Save KaiserEMP/3a8ec23e4bd17ad8386e47bf7eab6606 to your computer and use it in GitHub Desktop.
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));
}
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment