PATH:
home
/
lab2454c
/
securepaychip.com
/
wp-content
/
themes
/
wp-bootstrap-starter
/
inc
/
assets
/
js
(function ($) { $(document).ready(function () { $('.slider-for').slick({ slidesToShow: 1, slidesToScroll: 1, arrows: false, fade: true, autoplay: true, autoplaySpeed: 8000, pauseOnHover:true, asNavFor: '.slider-nav' }); $('.slider-nav').slick({ slidesToShow: 5, slidesToScroll: 1, asNavFor: '.slider-for', dots: true, arrows: true, // autoplay: true, // autoplaySpeed: 8000, //centerMode: true, focusOnSelect: true, responsive: [{ breakpoint: 991, settings: { centerMode: false, slidesToShow: 4 } }, { breakpoint: 768, settings: { centerMode: true, slidesToShow: 2 }, breakpoint: 575, settings: { centerMode: true, slidesToShow: 1 } }] }); // $('.main__banner').fadeIn(1500) // setInterval(function(){ // var $active = $('.main__banner .active'); // var $next = ($('.main__banner .active').next().length > 0) ? $('.main__banner .active').next() : $('.main__banner .main__banner__list__wrapp:first'); // $next.css('z-index',2);//move the next image up the pile // $active.fadeOut(1500,function(){//fade out the top image // $active.css('z-index',1).show().removeClass('active');//reset the z-index and unhide the image // $next.css('z-index',3).addClass('active');//make the next image the top one // }); // }, 7000) if($(".slick-next").length){ let btnSlickNext = $(".slick-next"), btnSlickNextNew = btnSlickNext.clone(true) btnSlickNext.remove() $(btnSlickNextNew).insertAfter(".slick-prev") $(".slick-next,.slick-prev").wrapAll('<div class="slick__btn__pagination__wrapp"></div>') } // document.addEventListener('wpcf7mailsent', function(event) { // setTimeout(function() { // $('.wpcf7-mail-sent-ok').delay(2000).fadeOut('slow').hide(0); // }, 8000); // }, false); $(window).scroll(function () { if ($(this).scrollTop() > 50) { $('.nav__main').addClass('shrink'); } else { $('.nav__main').removeClass('shrink'); } }) }) })(jQuery);
[+]
..
[-] html5.js
[edit]
[-] customizer.js
[edit]
[-] theme-script.js
[edit]