PageSourceSearch

https://jawcrusher.biz/img/comon.js

js jawcrusher.biz collected 2026-10-03 00:21:59 UTC 2,809 bytes, 101 lines download raw bytes

1$(function(){
2//nav begin
3	var $nav =$("#Nav");
4	var $navEara =$(".NavEara");
5	var $curr = $(".NavHover");
6	var $drop =$(".subNav");
7	$nav.find("li.drop",this).mouseover(function(){
8			var index = $(this).index();
9			dropMove(this,index);
10		});
11	$navEara.mouseleave(function(){
12		dropClose(); 							  
13		});
14	$nav.find(".shaohide").mouseover(function(){
15		dropClose();
16		})
17	$navEara.find(".close").click(function(){
18			dropClose();							   
19		});
20	function dropMove(a,index){
21		   $.dequeue(this,"fx");
22		   $curr.show();
23		   $drop.show();
24		   $drop.find(".cont").find(".subViewItem:eq("+index+")").show().siblings(".subViewItem").hide();
25			$curr.css({
26				 left:a.offsetLeft-30
27				});
28			if($(a).hasClass("otheri")){
29				
30				$drop.css({
31				left:a.offsetLeft-17	  
32					  });
33				}
34			else{	
35			
36			$drop.css({
37				left:a.offsetLeft-170	  
38					  });
39			}
40			
41		}
42	function dropClose(){
43		$curr.hide();
44		$drop.hide();
45		}
46//nav over	
47//copySelect仿select
48$(".copySelect .btn").live("click",function(){
49	$(this).parent().find(".drop").show();
50	$(this).parent().css("z-index",999);
51});
52$(".copySelect .drop p").live("click",function(){
53	var txt = $(this).text();
54	$(this).parents(".copySelect").find(":text").val(txt);
55	$(this).parent(".drop").hide();
56});
57$(".copySelect ").mouseleave(function(){
58	$(this).find(".drop").hide();
59	$(this).css("z-index",1);
60})
61
62//***Tab 选项卡
63$(".tabox").each(function(){
64		$(this).find(".tab li:eq(0)").addClass("focus");
65		$(this).find(".tabCont .boxs:eq(0)").show();	
66		$(this).find(".tab li").click(function(){
67			$(this).addClass("focus").siblings().removeClass("focus");
68			var index = $(this).index();
69			$(this).parent().siblings(".tabCont").find(".boxs:eq("+ index +")").show().siblings(".boxs").hide();
70		})
71	});
72$('a').live("focus", function(){
73    $(this).blur();
74})
75
76});
77
78//**二级导航及三级导航焦点
79function setFocus(n,s){
80	if(n){$(".menu li:nth-child("+n+")").addClass("focus");}
81	if(s){$(".subMenu li:nth-child("+s+")").addClass("focus");}
82}
83//tab切换调用函数--用于企业文化栏目
84function tabSwitch(n,e){
85		$(e).parent().addClass("focus").siblings().removeClass("focus");
86		$(".tabSwitch").find(".SwitchBox").eq(n).show().siblings(".SwitchBox").hide();
87	}
88function loadLogin(type){
89	$('<div class="dialogLayer" style="position:absolute;top:0;left:0;width:100%;"></div>').appendTo("body")
90	var height = $(document).height();
91	var scrollHeight= $(window).scrollTop();
92	$(".dialogLayer,.loginPopBg").height(height);
93		var ajax_page='/ajax/login_'+type+'.php';	
94	$(".dialogLayer").load(ajax_page,function(){
95		$(".loginPop").css("top",305+scrollHeight);											 
96	});
97	}
98function loginClose(){
99	$(".dialogLayer").remove();
100	}
101

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.