開幕前工作人員夾道歡迎選手進場
‘,
nextArrow: ‘
‘,
asNavFor: ‘.gnn-slick-banner-horizontal-1691774709689 .horizontal-nav’
});
jQuery(‘.gnn-slick-banner-horizontal-1691774709689 .horizontal-nav’).slick({
slidesToShow: 5,
slidesToScroll: 1,
asNavFor: ‘.gnn-slick-banner-horizontal-1691774709689 .banner-horizontal’,
arrows: false,
dots: false,
centerMode: false,
centerPadding: ‘8px’,
focusOnSelect: true
});
let imgLength = jQuery(‘.gnn-slick-banner-horizontal-1691774709689 .slider-count’).data(‘length’);
jQuery(‘.gnn-slick-banner-horizontal-1691774709689 .banner-horizontal’).on(‘afterChange’, function() {
let currentIndex = jQuery(‘.gnn-slick-banner-horizontal-1691774709689 .banner-horizontal’).slick(‘slickCurrentSlide’) + 1;
jQuery(‘.gnn-slick-banner-horizontal-1691774709689 .slider-count span’).text(currentIndex + ‘/’ + imgLength);
});
});