Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/dokan/assets/frontend/js/ drwxr-xr-x | |
| Viewing file: Select action/file-type: (function ($) {
'use strict';
// navbarDropdown
if ($(window).width() < 992) {
$('.navigation .dropdown-toggle').on('click', function () {
$(this).siblings('.dropdown-menu').animate({
height: 'toggle'
}, 300);
});
}
// scroll to top button
$(window).on('scroll', function () {
if ($(window).scrollTop() > 70) {
$('.backtop').addClass('reveal');
} else {
$('.backtop').removeClass('reveal');
}
});
// scroll-to-top
$('.scroll-top-to').on('click', function () {
$('body,html').animate({
scrollTop: 0
}, 500);
return false;
});
$('.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
}
}
]
});
$('.gallery_part').slick({
dots: false,
infinite: true,
autoplay: false,
arrows: false,
speed: 1000,
prevArrow: '<i class="fas fa-long-arrow-alt-right dandik"></i>',
nextArrow: '<i class="fas fa-long-arrow-alt-left bamdik"></i>',
slidesToShow: 4,
slidesToScroll: 4,
responsive: [
{
breakpoint: 1199,
settings: {
slidesToShow: 2,
slidesToScroll: 2,
}
},
{
breakpoint: 991,
settings: {
slidesToShow: 3,
slidesToScroll: 3,
}
},
{
breakpoint: 767,
settings: {
slidesToShow: 2,
slidesToScroll: 2,
}
},
{
breakpoint: 576,
settings: {
slidesToShow: 1,
slidesToScroll: 1,
}
}
]
});
$('.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
function counter() {
var oTop;
if ($('.counter').length !== 0) {
oTop = $('.counter').offset().top - window.innerHeight;
}
if ($(window).scrollTop() > oTop) {
$('.counter').each(function () {
var $this = $(this),
countTo = $this.attr('data-count');
$({
countNum: $this.text()
}).animate({
countNum: countTo
}, {
duration: 500,
easing: 'swing',
step: function () {
$this.text(Math.floor(this.countNum));
},
complete: function () {
$this.text(this.countNum);
}
});
});
}
}
$(window).on('scroll', function () {
counter();
});
$('.translate_option').on('change',function(){
$('.translate_form').submit();
});
})(jQuery);
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0048 ]-- |