(One intermediate revision by the same user not shown) | |||
Line 46: | Line 46: | ||
}, true) | }, true) | ||
} | } | ||
+ | |||
+ | $.getScript('/skin/js/subscribeEmail.js'); |
Latest revision as of 09:52, 29 August 2022
/* Any JavaScript here will be loaded for all users on every page load. <script>*/
/* slick silder module */
$.getScript('/skin/modules/slick/slick.min.js').done(function () {
$('.slick').slick({
dots: false,
infinite: true,
speed: 300,
cssEase: 'linear',
fade: true,
arrows: true,
adaptiveHeight: true
});
$('.logo-slider').slick({
arrows: false,
speed: 5000,
autoplay: true,
autoplaySpeed: 0,
cssEase: 'linear',
slidesToShow: 1,
slidesToScroll: 1,
variableWidth: true
});
$('.email-slider').slick({
arrows: false,
speed: 5000,
autoplay: true,
autoplaySpeed: 0,
cssEase: 'linear',
slidesToShow: 1,
slidesToScroll: 1,
variableWidth: true
});
$('.next-slick-child').each(function () {
this.style.display = 'block';
});
});
var mobileMenu = document.querySelector('[data-openmenu]');
if (mobileMenu) {
mobileMenu.addEventListener('click', function(){
document.querySelector('.csp-nav__menu').classList.toggle('open');
}, true)
}
$.getScript('/skin/js/subscribeEmail.js');