PageSourceSearch

https://www.njjy.gov.cn/images/zjjy.js

js njjy.gov.cn collected 2026-10-05 01:30:49 UTC 6,046 bytes, 169 lines download raw bytes

1// /*焦点图*/
2// $(function() {
3//         var sWidth = $("#focus").width();
4//         var len = $("#focus ul li").length;
5//         var index = 0;
6//         var picTimer;
7//         var btn = "<div class='btnBg'></div><div class='btn'>";
8//         for(var i=0; i < len; i++) {
9// //            btn += "<span>"+(i+1)+"</span>";
10//             btn += "<span></span>";
11//         }
12//         //btn += "</div><div class='preNext pre'></div><div class='preNext next'></div>";
13//         $("#focus").append(btn);
14//         $("#focus .btnBg").css("opacity",0.6);
15//
16//         $("#focus .btn span").css("opacity",0.6).mouseenter(function() {
17//             index = $("#focus .btn span").index(this);
18//             showPics(index);
19//         }).eq(0).trigger("mouseenter");
20//         $("#focus .preNext").css("opacity",0.6).hover(function() {
21//             $(this).stop(true,false).animate({"opacity":"1"},300);
22//         },function() {
23//             $(this).stop(true,false).animate({"opacity":"0.6"},300);
24//         });
25//         $("#focus .pre").click(function() {
26//             index -= 1;
27//             if(index == -1) {index = len - 1;}
28//             showPics(index);
29//         });
30//         $("#focus .next").click(function() {
31//             index += 1;
32//             if(index == len) {index = 0;}
33//             showPics(index);
34//         });
35//
36//         $("#focus ul").css("width",sWidth * (len));
37//         $("#focus").hover(function() {
38//             clearInterval(picTimer);
39//         },function() {
40//             picTimer = setInterval(function() {
41//                 showPics(index);
42//                 index++;
43//                 if(index == len) {index = 0;}
44//             },4000);
45//         }).trigger("mouseleave");
46//         function showPics(index) {
47//             var nowLeft = -index*sWidth;
48//             $("#focus ul").stop(true,false).animate({"left":nowLeft},300);
49//             $("#focus .btn span").removeClass("on").eq(index).addClass("on");
50//             $("#focus .btn span").stop(true,false).animate({"opacity":"0.4"},300).eq(index).stop(true,false).animate({"opacity":"1"},300);
51//         }
52//     });
53// $(function() {
54//     var sWidth = $("#focus02").width();
55//     var len = $("#focus02 ul li").length;
56//     var index = 0;
57//     var picTimer;
58//     var btn = "<div class='btnBg'></div><div class='btn'>";
59//     for(var i=0; i < len; i++) {
60// //            btn += "<span>"+(i+1)+"</span>";
61//         btn += "<span></span>";
62//     }
63//     //btn += "</div><div class='preNext pre'></div><div class='preNext next'></div>";
64//     $("#focus02").append(btn);
65//     $("#focus02 .btnBg").css("opacity",0.6);
66//
67//     $("#focus02 .btn span").css("opacity",0.6).mouseenter(function() {
68//         index = $("#focus02 .btn span").index(this);
69//         showPics(index);
70//     }).eq(0).trigger("mouseenter");
71//     $("#focus02 .preNext").css("opacity",0.6).hover(function() {
72//         $(this).stop(true,false).animate({"opacity":"1"},300);
73//     },function() {
74//         $(this).stop(true,false).animate({"opacity":"0.6"},300);
75//     });
76//     $("#focus02 .pre").click(function() {
77//         index -= 1;
78//         if(index == -1) {index = len - 1;}
79//         showPics(index);
80//     });
81//     $("#focus02 .next").click(function() {
82//         index += 1;
83//         if(index == len) {index = 0;}
84//         showPics(index);
85//     });
86//
87//     $("#focus02 ul").css("width",sWidth * (len));
88//     $("#focus02").hover(function() {
89//         clearInterval(picTimer);
90//     },function() {
91//         picTimer = setInterval(function() {
92//             showPics(index);
93//             index++;
94//             if(index == len) {index = 0;}
95//         },4000);
96//     }).trigger("mouseleave");
97//     function showPics(index) {
98//         var nowLeft = -index*sWidth;
99//         $("#focus02 ul").stop(true,false).animate({"left":nowLeft},300);
100//         $("#focus02 .btn span").removeClass("on").eq(index).addClass("on");
101//         $("#focus02 .btn span").stop(true,false).animate({"opacity":"0.4"},300).eq(index).stop(true,false).animate({"opacity":"1"},300);
102//     }
103// });
104
105
106// 2018-10-16修改轮播图
107
108$("#slide_x").cxSlide({plus:true,minus:true,speed:300,events:"mouseenter"});
109$("#slide_y").cxSlide({plus:true,minus:true,speed:300,events:"mouseenter"});
110
111//友情链接
112$(function(){
113    $('.friendlink').hover(
114        function(){
115            $("html,body").stop(true,true).animate({scrollTop:$(".footer_box_bottom").offset().top-100},300);
116            //$(this).css({'color':'#005ea5','background':'#f7f7f7 url(/picture/1/1804211405518996180.png) no-repeat 350px 9px'});
117            $(this).children('div').stop(true,true).slideDown(300);
118        },
119        function(){
120            //$(this).css({'color':'#333333','background':'#f7f7f7 url(/picture/1/1804211405519282035.png) no-repeat 350px 9px'});
121            $(this).children('div').stop(true,true).hide();
122        }
123    )
124})
125
126
127/*/!*
128 * 关闭辅助工具条
129 *!/
130
131function closeToolBar() {
132    var wcagNavDiv = $("#wcagnav");
133    wcagNavDiv.hide(1000, function() {
134        wcagNavDiv.get(0).style.display = "none";
135        document.body.style.paddingTop = wcagNavDiv.get(0).offsetHeight + "px";
136    });
137
138    $("#gettextmessagebox").hide();
139    createNodeDiv("wcagnav", "工具条已关闭");
140
141    $(BarrierFreeConfig.readerTags).unbind('mouseover', pointRead);
142}
143
144/!*
145 * 控制打开/关闭辅助工具条
146 *!/
147
148function toggleToolBar() {
149    if (INSTANCE.openFlag == "0") {
150        openToolBar();
151        INSTANCE.openFlag = "1";
152        SetCookie("openFlag", "1");
153    } else {
154        INSTANCE.openFlag = "0";
155        SetCookie("openFlag", "0");
156        closeToolBar();
157        setTimeout(resetNavToolbar, 1000);
158    }
159}
160
161function pointRead() {
162    var text = $(this).text();
163    BarrierFreeConfig.reader.read(text);
164}*/
165
166
167
168
169

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.