") }) jQuery(window).load(function() { function sliderInit() { setTimeout(function() { jQuery('.carousel-parent').addClass('loaded') }, 500) } // http://ganlanyuan.github.io/tiny-slider/#options var slider = tns({ container: '.carousel', items: 1, autoWidth: true, controls: false, slideBy: 1, autoplay: false, loop: true, navPosition: 'bottom', mouseDrag: true, touch: true, onInit: sliderInit() }); jQuery(window).resize(function() { // Debounce let resizeTimer; clearTimeout(resizeTimer); resizeTimer = setTimeout(function() { // Resize slider on window resize slider.refresh() }, 250); }); }); jQuery(document).ready(function() { var notificationMarkUp = '