X3ND1 GANTENG
Server IP : 108.163.255.210  /  Your IP : 3.149.254.35
Web Server : Apache
System : Linux blossom.urlnameserver.com 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64
User :  ( 1172)
PHP Version : 7.2.34
Disable Function : eval,escapeshellarg,proc_close,proc_get_status,proc_nice,proc_open,symlink,system,pcntl_exec,getrusage,chown,chgp,closelog,openlog,syslog,define_syslog_variables,php_ini_loaded_file,getservbyname,getservbyport,posix_getgid,posix_getgrgid,proc_terminate,pfsockopen,apache_child_terminate,posix_mkfifo,posix_setpgid,posix_setuid,hypot,pg_host,pos,posix_access,posix_getcwd,posix_getservbyname,myshellexec,getpid,posix_getsid,posix_isatty,posix_kill,posix_mknod,posix_setgid,posix_setsid,posix_setuid,posix_times,posix_uname,ps_fill,posix_getpwuid,global,ini_restore,zip_open,zip_read,rar_open,bzopen,bzread,bzwrite,apache_get_modules,apache_get_version,phpversionphpinfo,php_ini_scanned_files,get_current_user,disk_total_space,diskfreespace,leak,imap_list,hypo,filedump,safe_mode,getmygid,apache_getenv,apache_setenv,bzread,bzwrite,bzopen,phpini,higlight_file,dos_conv,get_cwd,er_log,cmd,e_name,vdir,get_dir,only_read,ftok,ftpexec,posix_getpwnam,mysql_list_dbs,disk_free_space,session_save_path,confirm_phpdoc_compiled,zip_entry_rea,php_u,psockopen,crack_opendict,crack_getlastmessage,crack_closedict,crack_check,fpassthru,posix_get_last_error,posix_getlogin,posix_getgroups,posix_strerror,posix_getrlimit,posix_getpgrp,posix_getgrnam,pos,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/unilinki/public_html/alpai/public/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ BERANDA ]     

Current File : /home/unilinki/public_html/alpai/public/js/custom.js
if(jQuery(window).width() <= 767){
jQuery(window).load(function(){
	jQuery('.narrow-by-list').css('display','none');
});
}
jQuery(document).ready(function(){


	var animation_elements = jQuery('.hp_ps_left, .hp_ps_right, .hp_ps_middle1, .hp_ps_middle2, .cs_separate_column, .hp_blog_section, .hp_customer_testi_section, .wat_column');
	var windowvar = jQuery(window);

	windowvar.on('scroll resize', check_if_in_view);


	function check_if_in_view() {
	  var window_height = windowvar.height();
	  var window_top_position = windowvar.scrollTop();
	  var window_bottom_position = (window_top_position + window_height);

	  jQuery.each(animation_elements, function() {
	    var element = jQuery(this);
	    var element_height = element.outerHeight();
	    var element_top_position = element.offset().top;
	    var element_bottom_position = (element_top_position + element_height);

	    //check to see if this current container is within viewport
	    if ((element_bottom_position >= window_top_position) &&
	        (element_top_position <= window_bottom_position)) {
	      element.addClass('in-view');
	    } else {
	      element.removeClass('in-view');
	    }
	  });
	}




	jQuery(window).on('scroll', function () {			
		if (jQuery(this).scrollTop() > 200) {
			jQuery('.back-top').css('display','block');
		} else {
			jQuery('.back-top').css('display','none');
		}
	});
	jQuery('.back-top').click(function () {
		 jQuery("html, body").animate({ scrollTop: 0 }, "slow");
	 });

		
if(jQuery(window).width() <= 767){
	jQuery('.narrow-by-list').css('display','none');
	jQuery('.block-layered-nav .block-subtitle--filter').click(function () {
	jQuery(this).toggleClass('active');
    jQuery(this).siblings('.narrow-by-list').slideToggle();
});
}
		jQuery('.size-chart-container .size-table').css('display','none');
		 jQuery('.slide-btn').click(function () {
			 jQuery('html, body').animate({ scrollTop: jQuery('.size-chart-container').position().top}, 'slow');
			 jQuery('.size-chart-container .size-table').slideDown();
		 });
		 jQuery('.size-chart-container ul li').click(function () {
			 jQuery('.size-chart-container .size-table').slideDown();
		 });
        jQuery('.menu-mobile-icon').click(function () {
			jQuery('.menu-close-icon').css('display','block');
        jQuery("#header-nav nav").animate({"left": "0px"}, "slow");
		});
		jQuery('.menu-close-icon').click(function () {
			jQuery("#header-nav nav").animate({"left": "-100%"}, "slow");
			jQuery('.menu-close-icon').css('display','none');
		});
	jQuery('.product-view .product-detail-tab .tab').click(function () {
		jQuery('.product-view .product-detail-tab .tab').removeClass('active');
		jQuery(this).addClass('active');
		jQuery('.product-view .product-detail-tab .tab-content').slideUp();
		jQuery(this).siblings('.tab-content').slideDown();
	});
         jQuery('.search-icon').click(function (e) {
            jQuery('#search').focus();
			if(jQuery(window).width() <= 767){
                jQuery("#search_mini_form").animate({width: '160px'});
			}
			else
			{
				jQuery("#search_mini_form").animate({width: '250px'});
			}
                jQuery(document).click(function (event) {
                    if (!jQuery(event.target).is('#search_mini_form, .search-icon, #search, .search-button')) {
                        jQuery("#search_mini_form").animate({width: '0px'});
                    }

                });
		});
		jQuery('.top-selling-container .tabs li.men').click(function () {
			jQuery('.women-products').css('display','none');
			jQuery('.men_products').css('display','block');
			jQuery(this).addClass('active').siblings().removeClass('active');
		});
		jQuery('.top-selling-container .tabs li.women').click(function () {
			jQuery('.women-products').css('display','block');
			jQuery('.men_products').css('display','none');
			jQuery(this).addClass('active').siblings().removeClass('active');
		});
		
		jQuery('#header-search .close_popup__search').click(function (e) {
			 jQuery("#header-search").animate({top: '-110%'});
		});
		
		
		jQuery(window).on('scroll', function () {
			var headerHeight = jQuery('#header').outerHeight();
			if (jQuery(this).scrollTop() > 29) {
				jQuery('#header').addClass('sticky');
			} else {
				jQuery('#header').removeClass('sticky');
			}
		});
		
		jQuery('.top-selling-container .products-grid').owlCarousel({
		loop: true,
		nav: true,
		margin:18,
		responsiveClass: true,
		responsive: {
		  0: {
			items: 2,
			nav: true
		  },
		  600: {
			items: 3,
			nav: true
		  },
		  1000: {
			items: 4,
			nav: true,
			loop: false
		  }
		}
	  });
		jQuery('.about-section').owlCarousel({
		loop: true,
		nav: true,
		responsiveClass: true,
		responsive: {
		  0: {
			items: 1,
			nav: true
		  },
		  600: {
			items: 1,
			nav: true
		  },
		  1000: {
			items: 1,
			nav: true,
			loop: false
		  }
		}
	  });
	   jQuery('.women-slider').owlCarousel({
		loop: true,
		nav: false,
		margin: 10,
		responsiveClass: true,
		responsive: {
		  0: {
			items: 2,
			nav: false
		  },
		  600: {
			items: 3,
			nav: false
		  },
		  1000: {
			items: 4,
			nav: false,
			loop: false
		  }
		}
	  });
      jQuery('.men-slider').owlCarousel({
		loop: true,
		nav: false,
		margin: 10,
		responsiveClass: true,
		responsive: {
		  0: {
			items: 2,
			nav: false
		  },
		  600: {
			items: 3,
			nav: false
		  },
		  1000: {
			items: 4,
			nav: false,
			loop: false
		  }
		}
	  });
});

Anon7 - 2022
SCDN GOK