403Webshell
Server IP : 65.108.144.40  /  Your IP : 216.73.217.165
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux ubuntu-8gb-hel1-1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64
User : dev ( 1000)
PHP Version : 8.2.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/bawaautos/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/bawaautos/js/custom.js
$('.services-section__service_slider').slick({
    slidesToShow: 1,
    slidesToScroll: 1,
    autoplay: false
});
function updateActiveSlideContent(currentSlideIndex) {
    document.querySelectorAll('.services-section__slide-content p').forEach(function (p) {
        if (p.getAttribute('data-slide') == currentSlideIndex) {
            p.classList.add('active');
        } else {
            p.classList.remove('active');
        }
    });
}

updateActiveSlideContent(0);

document.querySelectorAll('.services-section__slide-content p').forEach(function (p) {
    p.addEventListener('click', function () {
        const slideIndex = p.getAttribute('data-slide');
        $('.services-section__service_slider').slick('slickGoTo', slideIndex);
    });
});
$('.services-section__service_slider').on('afterChange', function (event, slick, currentSlide) {
    updateActiveSlideContent(currentSlide);
});

$('.testimonial-sec__testimonial-slider').slick({
    slidesToShow: 1,
    slidesToScroll: 1,
    autoplay: false,
    autoplaySpeed: 2000,
});



window.onscroll = function() {myFunction()};

var header = document.getElementById("myHeader");
var sticky = header.offsetTop;

function myFunction() {
if (window.pageYOffset > sticky) {
header.classList.add("sticky");
} else {
header.classList.remove("sticky");
}
}


/*banner js*/

$('.main-hero-section__banner-slider').slick({
    slidesToShow: 1,
    slidesToScroll: 1,
    autoplay: true,
    autoplaySpeed: 2000,
  });

Youez - 2016 - github.com/yon3zu
LinuXploit