芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/tblonline.org/public/theme/js/script.js
(function ($) { "use strict"; // SCROLL TO TOP $(window).on("scroll", function () { if ($(window).scrollTop() > 70) { $(".backtop").addClass("reveal"); } else { $(".backtop").removeClass("reveal"); } }); $(".portfolio-single-slider").slick({ infinite: true, arrows: false, autoplay: true, autoplaySpeed: 2000, }); $(".clients-logo").slick({ infinite: true, arrows: false, autoplay: true, slidesToShow: 6, slidesToScroll: 6, autoplaySpeed: 6000, responsive: [ { breakpoint: 1024, settings: { slidesToShow: 6, slidesToScroll: 6, infinite: true, dots: true, }, }, { breakpoint: 900, settings: { slidesToShow: 4, slidesToScroll: 4, }, }, { breakpoint: 600, settings: { slidesToShow: 4, slidesToScroll: 4, }, }, { breakpoint: 480, settings: { slidesToShow: 2, slidesToScroll: 2, }, }, ], }); $(".testimonial-wrap").slick({ slidesToShow: 1, slidesToScroll: 1, infinite: true, dots: true, arrows: false, autoplay: true, vertical: true, verticalSwiping: true, autoplaySpeed: 6000, responsive: [ { breakpoint: 1024, settings: { slidesToShow: 1, slidesToScroll: 1, infinite: true, dots: true, }, }, { breakpoint: 900, settings: { slidesToShow: 1, slidesToScroll: 1, }, }, { breakpoint: 600, settings: { slidesToShow: 1, slidesToScroll: 1, }, }, { breakpoint: 480, settings: { slidesToShow: 1, slidesToScroll: 1, }, }, ], }); $(".testimonial-wrap-2").slick({ slidesToShow: 2, slidesToScroll: 2, infinite: true, dots: true, arrows: false, autoplay: true, autoplaySpeed: 6000, responsive: [ { breakpoint: 1024, settings: { slidesToShow: 2, slidesToScroll: 2, infinite: true, dots: true, }, }, { breakpoint: 900, settings: { slidesToShow: 1, slidesToScroll: 1, }, }, { breakpoint: 600, settings: { slidesToShow: 1, slidesToScroll: 1, }, }, { breakpoint: 480, settings: { slidesToShow: 1, slidesToScroll: 1, }, }, ], }); // Counter $(".counter-stat span").counterUp({ delay: 10, time: 1000, }); })(jQuery);