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