403Webshell
Server IP : 103.48.194.25  /  Your IP : 216.73.217.33
Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.33
System : Linux VMHostDefault 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64
User : sieuthimay ( 1016)
PHP Version : 8.2.20
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/sieuthimayasia.com/public_html/wp-content/themes/mtw-maycn/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/sieuthimayasia.com/public_html/wp-content/themes/mtw-maycn/assets/js/main.js
(function($){
	'use strict';

	$('.moblie-menu .menu-item-has-children').prepend('<i class="fa fa-angle-down"></i>');

	$('.moblie-menu .menu-item-has-children > i').click(function(event) {
		$(this).parent().toggleClass('active');
	});

	$('.btn-menu, .overlay, .close-menu').click(function(event) {
		$('.site').toggleClass('mobile-menu-active');
	});

	var headerHeight = $('.site-header').height();
	var navOffset = $('.main-navigation').offset().top;
	$(window).scroll(function() {
		var scrollPos = $(window).scrollTop();
		
		if (scrollPos >= navOffset) {
			$('.site').addClass('fixed-nav-menu');
			$('.site-header').css('height', headerHeight);
			$('#totop').addClass('on--totop');
		} else {
			$('.site').removeClass('fixed-nav-menu');
			$('.site-header').removeAttr('style');
			$('#totop').removeAttr('class');
		}
	});

	$("a[href='#top']").click(function() {
		$('html, body').animate({ scrollTop: 0 }, 'slow');
		return false;
	});

	$('.ajax_add_to_cart').click(function() {
		var count = parseInt($('.header-nav-cart .shopping-bag span').text()) + 1;
		$('.header-cart .shopping-bag span, .header-nav-cart .shopping-bag span').html(count);
	});

	$('.ncn__partners').slick({
		speed: 300,
		slidesToShow: 6,
		slidesToScroll: 1,
		autoplay: false,
		autoplaySpeed: 2000,
		arrows: true,
		dots: false,
		prevArrow: '<button type="button" class="slick-prev"></button>',
		nextArrow: '<button type="button" class="slick-next"></button>',
		responsive: [
		{
			breakpoint: 992,
			settings: {
				slidesToShow: 3,
				slidesToScroll: 1,
				arrows: false,
			}
		},
		{
			breakpoint: 414,
			settings: {
				slidesToShow: 1,
				slidesToScroll: 1,
				arrows: false,
			}
		},
		]
	});

})(jQuery);

Youez - 2016 - github.com/yon3zu
LinuXploit