403Webshell
Server IP : 156.238.232.47  /  Your IP : 216.73.216.150
Web Server : nginx/1.25.3
System : Linux C202504152095410 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : www ( 1000)
PHP Version : 8.3.25
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /www/data/wwwroot/2026_08_01/pc/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/data/wwwroot/2026_08_01/pc/js/globle.js
// JavaScript Document

$(function() {

	$('.j-child-num').each(function(index, el){
		var child_Num=$(this).children();
		var child_Length=child_Num.length;
		for(var j=0; j<child_Length; j++){
			var child_Class=child_Num.eq(j).attr("class");
			if(child_Class==null){child_Class=""}
			j_Num=j+1;
			var child_Str="child-"+j_Num+" ";
			var child_NewClass=child_Str + child_Class;
			child_Num.eq(j).attr("class",child_NewClass);
			child_NewClass="";
		}
	});

	$('.j-child-even-odd').each(function(index, el){
		$(this).children(":even").addClass("child-even");
		$(this).children(":odd").addClass("child-odd");
	});

	$('.j-i-num').each(function(index, el){
		var child_Num=$(this).children();
		var child_Length=child_Num.length;
		for(var j=0; j<child_Length; j++){
			j_Num=j+1;
			if(j_Num<10){
				child_Num.find('i.num').eq(j).html('0'+j_Num);
			}else{
				child_Num.find('i.num').eq(j).html(j_Num);
			}
		}
	});

	$('.j-child-hover').each(function(index, el){
		$(this).children().hover(function(){
			$(this).addClass('hover');
		},function(){
			$(this).removeClass('hover');
		});
	});

	$('.j-child-first').each(function(index, el){$(this).children().first().addClass('first');});
	$('.j-child-last').each(function(index, el){$(this).children().last().addClass('last');});

	$('.j-child-neat').each(function(index, el) {
		var this_Width = $(this).width();
		var child_Num = $(this).children();
		var child_Width = Math.floor( this_Width/child_Num.length );
		child_Num.width( child_Width );
	});

	$('.j-jqthumb').find('.u-img').each(function(index, el) {
		$(this).find('img').jqthumb({
			width: '100%',
			height: '100%',
			position: {x:'50%',y:'0%'}
		});
	});
	
	$('.j-imghover').find('.u-img').each(function(index, el) {
		if($(this).is('a')){
			$(this).hover(function() {
				$(this).addClass('imghover');
			},function(){
				$(this).removeClass('imghover');
			});
		}else{
			$(this).parents('a').hover(function() {
				$(this).addClass('imghover');
			},function(){
				$(this).removeClass('imghover');
			});
		}
	});

	$('.j-product-scroll').each(function(index, el){
		var prevBtn = $(el).parents('.listBox').children('.btnBox').children('a.prevBtn');
		var nextBtn = $(el).parents('.listBox').children('.btnBox').children('a.nextBtn');
		$(el).carouFredSel({
			align: "left",
			auto:{ play:true, pauseOnHover:true, timeoutDuration:3000 },
			pause:3000,
			items: 4,
			scroll: 1,
			prev: prevBtn,
			next: nextBtn
		});
	});

	$('.j-caseMenu-scroll').each(function(index, el){
		var prevBtn = $(el).parents('.menuBox').children('.btnBox').children('a.prevBtn');
		var nextBtn = $(el).parents('.menuBox').children('.btnBox').children('a.nextBtn');
		$(el).carouFredSel({
			align: "left",
			auto: false,
			items: 7,
			scroll: 1,
			prev: prevBtn,
			next: nextBtn
		});
	});

	$('.j-case-scroll').each(function(index, el){
		$(el).carouFredSel({
			align: "left",
			auto:{ play:true, pauseOnHover:true, timeoutDuration:3000 },
			pause:3000,
			items: 4,
			scroll: 1
		});
	});


	$('.j-imgBox').each(function(index, el) {
		var imgSrc=$(this).find('img').attr('src');
		$(this).find('img').wrap('<div style="background: url('+imgSrc+') center no-repeat"></div>')
	});

	$(".j-tabBox").each(function(index, el) {
		$(this).slide({titCell:".tabTitle li",mainCell:".tabCon .content",effect:"fold"});
	});


	/******************** 导航 START ********************/
	
	$('.fir-ul .fir-li').each(function(index, element) {
		if($(this).find('li').length>0){$(this).addClass('j-li');}
		$(this).hover(function(){
			$(this).addClass('hover').siblings().removeClass('hover'); //当前主导航添加样式:current,其他的删除样式:current
		},function(){
			$(this).removeClass('hover'); //当前主导航添加样式:current,其他的删除样式:current
		});
	});

	/** 纵向导航 START **/
	$('.nav-y li.j-li').each(function(index, element) {
		$(this).hover(function(){			
			$(this).siblings().find('.sec-box').hide();
			$(this).find('.sec-box').stop(true,true).fadeIn(200,'swing'); //当前子导航显示
		},function(){
			$(this).find('.sec-box').stop(true,true).fadeOut(200,'swing'); //当前主导航添加样式:current,其他的删除样式:current
		});
	});
	$('.nav-y li').each(function(index, element) {
		$(this).hover(function(){
			$(this).addClass('hover').siblings().removeClass('hover'); //当前主导航添加样式:current,其他的删除样式:current
		},function(){
			$(this).removeClass('hover'); //当前主导航添加样式:current,其他的删除样式:current
		});
	});
	/** 纵向导航 END **/

	/******************** 导航 END ********************/

	supportPlaceholder='placeholder'in document.createElement('input'),
	placeholder=function(input){
		var text = input.attr('placeholder'),
		defaultValue = input.defaultValue;
		if(!defaultValue){
			input.val(text).addClass("phcolor");
		}
		input.focus(function(){
			if(input.val() == text){ $(this).val(""); }
		}).blur(function(){
			if(input.val() == ""){
				$(this).val(text).addClass("phcolor");
			}
		}).keydown(function(){
			$(this).removeClass("phcolor");
		});
	};
	if(!supportPlaceholder){
		$('input').each(function(){
			text = $(this).attr("placeholder");
			if($(this).attr("type") == "text"){
				placeholder($(this));
			}
		});
	}


 $("#famenu> li ").hover(function(){
     $(this).find("#sonmenu").show(300);
     $(this).siblings().find("#sonmenu").hide(300);
  });
	$('.sub-menu').each(function(index, el) {
		$(this).find('h4:first').addClass('first');
		if($(this).find('h4').hasClass('current')){
			$('h4.current').next('ul').show();
		}
		$(this).find('h4').hover(function(){
			if(!$(this).hasClass('current')){
				$(this).siblings('ul').stop(true,false).slideUp(300);
				$(this).addClass('current').next('ul').stop(true,true).slideDown(300);
				$(this).siblings().removeClass('current');
			}
			$(this).addClass('hover').siblings().removeClass('hover');
		},function(){
			$(this).removeClass('hover');
		});
	});

	//漂浮窗口
	var client={
		id:jQuery(".m-client"),
		init:function(){
			var that=this;			
			(function auto(){
				var ww=jQuery(window).width();
				var wh=jQuery(window).height();
				var dst=jQuery(document).scrollTop()+(wh/2);
				if(jQuery.browser.msie && jQuery.browser.version=="6.0"){
					that.id.css({"top":dst});
				}
				setTimeout(function(){ auto() },50)
			})();
		}
	}.init()

	$('.goTop').each(function(index, el) {
		$(this).click(function () {
			if ($(window).scrollTop() > 0) {
				$('body,html').animate({
					scrollTop: 0
				}, 800);
			}
			return false;
		});
	});

	$('.m-client').each(function(index, el) {

		var textWidth = $(this).find('.u-a').children('.text').outerWidth();
		var erweiWidth = $(this).find('.u-a').children('.erwei').outerWidth();
		$(this).find('.u-a').hover(function() {
			if($(this).hasClass('conBox')){
				$(this).children('.con').stop(true,true).fadeIn(200);
			}
		}, function() {
			if($(this).hasClass('conBox')){
				$(this).children('.con').stop(true,false).fadeOut(200);
			}
		});

		function goTop(){
			if ($(this).scrollTop() > 200) {
				$('.client-goTop').fadeIn();
			} else {
				$('.client-goTop').fadeOut();
			}
		}
		goTop();
		$(window).scroll(function () {
			goTop();
		});
	});

	
});




Youez - 2016 - github.com/yon3zu
LinuXploit