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