[ad_1]
‘,
nextArrow: ‘
‘,
asNavFor: ‘.gnn-slick-banner-horizontal-1693082091205 .horizontal-nav’
});
jQuery(‘.gnn-slick-banner-horizontal-1693082091205 .horizontal-nav’).slick({
slidesToShow: 5,
slidesToScroll: 1,
asNavFor: ‘.gnn-slick-banner-horizontal-1693082091205 .banner-horizontal’,
arrows: false,
dots: false,
centerMode: false,
centerPadding: ‘8px’,
focusOnSelect: true
});
let imgLength = jQuery(‘.gnn-slick-banner-horizontal-1693082091205 .slider-count’).data(‘length’);
jQuery(‘.gnn-slick-banner-horizontal-1693082091205 .banner-horizontal’).on(‘afterChange’, function() {
let currentIndex = jQuery(‘.gnn-slick-banner-horizontal-1693082091205 .banner-horizontal’).slick(‘slickCurrentSlide’) + 1;
jQuery(‘.gnn-slick-banner-horizontal-1693082091205 .slider-count span’).text(currentIndex + ‘/’ + imgLength);
});
});