PageSourceSearch

https://www.gov.cn/images/trs_hover.js

js www.gov.cn collected 2026-10-02 02:12:50 UTC 1,984 bytes, 70 lines download raw bytes

1function $Len(IdName){
2  return document.getElementById(IdName).value.length;
3}
4function $SpaceLen(IdName){
5  return document.getElementById(IdName).value.replace(/(^\s*)|(\s*$)/g , '').length;
6}
7
8
9function setTab(name,cursel,n){
10	for(i=1;i<=n;i++){
11		var menu=document.getElementById(name+i);
12		var con=document.getElementById("con_"+name+"_"+i);
13		
14		menu.className=i==cursel?"hover":"";
15		con.style.display=(i==cursel)?"block":"none";
16	
17	 }
18}
19
20function setTab1(name,cursel,n){
21	for(i=1;i<=n;i++){
22		var menu=document.getElementById(name+i);
23		var con=document.getElementById("con_"+name+"_"+i);
24		var con_a=document.getElementById(name+i+"_a");
25		menu.className=i==cursel?"hover":"";
26		con.style.display=i==cursel?"block":"none";
27		con_a.style.display="none";
28	 }
29	 var con_a1=document.getElementById(name+cursel+"_a");
30	 con_a1.style.display="block";
31	 
32}
33
34
35$(function(){
36	/*$(".footer2_1 ul li").not(".nobackground").mouseover(function(){
37		$(this).addClass("asect").siblings().removeClass();	
38		$(this).find(".select_content").show().parent().siblings().find(".select_content").hide();
39	})
40	$(".footer2_1 ul li").not(".nobackground").mouseout(function(){
41		$(this).removeClass("asect")
42		$(this).find(".select_content").hide();
43	})*/
44	$(".footer2_1>ul>li").mouseenter(function(){
45		$(this).addClass("asect").find(".select_content").show();
46	}).mouseleave(function () {
47		$(this).removeClass("asect").find(".select_content").hide();	
48	});
49	
50	$(".column3ri1_1 li").each(function(){
51        $(".column3ri1_1 li").hover(function(){
52            $(this).find("a").stop().animate({
53                "background-position-y":0
54            })
55        },function(){
56            $(this).find("a").stop().animate({
57                "background-position-y":"5px"
58            })
59        })
60    })
61	
62	$(".lmtit1 a").hover(function(){
63		$(".spyp_main .spyp_con").eq($(this).index()).show().siblings().hide();	
64	})
65})
66 
67  
68  
69
70

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.