Line 46: Line 46:
 
   }, true)
 
   }, true)
 
}
 
}
 +
 +
$.getScript('/skin/modules/js/subscribeEmail.js');

Revision as of 09:50, 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/modules/js/subscribeEmail.js');