Test
$('.ghozylab-gallery img').each(function(i) { $alt = $(this).attr('alt'); // Replace default title to more fancy 🙂 $(this).attr('alt', $alt.replace(/-|_/g, ' ')); $altnew = $(this).attr('alt').toLowerCase().replace(/\b[a-z]/g, function(letter) { return letter.toUpperCase(); }); $(this).attr('alt', $altnew); // Compatibility with Zoom Lite Theme Image LazyLoad $(this).removeAttr('data-lazy-src'); }); $('#icppreloader-gallery-6565fafdadf07').fadeOut(300, function() { $('#gallery-6565fafdadf07').fadeIn(300); var slider6565fafdadf07 = $('#gallery-6565fafdadf07').bxSlider({ auto: true, pause: 3000, autoHover: true, moveSlides: 5, minSlides: 5, maxSlides: 5, slideWidth: 500, slideMargin: 10, startSlide: 0, infiniteLoop: true, captions: true, captionsMode: 'alt', adaptiveHeight: true, useCSS: false, pager: true, easing: 'easeOutBounce', speed: 2500, preloadImages: 'all', onSlideBefore: function() { $('#gallery-6565fafdadf07 .bx-caption').slideUp(); }, onSlideAfter: function($slideElement, oldIndex, newIndex) { slider6565fafdadf07.stopAuto(); slider6565fafdadf07.startAuto(); $('#gallery-6565fafdadf07 .bx-caption').slideDown(); } }); }); }); /* END --- Image Carousel --- */ // ]]>12/10/2018 Les ptits gris vs Villecresnes