PageSourceSearch

https://www.jingtai.gov.cn/cms_files/webjingtaixian/pubtplobject/d…fadc1442b8b3e9e0126a481ddd/images/public.js

js jingtai.gov.cn collected 2026-10-02 16:41:34 UTC 2,673 bytes, 90 lines download raw bytes

1// JavaScript Document
2var w_width,
3	w_height;
4//浏览器的宽高
5function win() {
6	w_width=$(window).width(); 
7	w_height=$(window).height();
8	$('#left').css({'width':'160px','height':(w_height-71)+'px'});
9	$('#right').css({'width':(w_width-176)+'px','height':(w_height-71)+'px'});
10}
11//刷新框架页面
12function f5() {
13	window.parent.frames['c'].location.reload();
14}
15function lhide() {
16	$('.left').click(function() {
17		if ($('#left').css('display')=='block') {
18			$('#left').hide();
19			$('#right').css({'width':w_width+'px'});
20			$('.left').css('left','-2px');
21		}else {
22			$('#left').show();
23			$('#right').css({'width':(w_width-176)+'px'});
24			$('.left').css('left','156px');
25		}
26	});
27}
28//表单控件阴影
29function shadow() {
30	$('#content .text, .qtext, .ctext, .dtext, textarea').focus(function() {
31		$(this).css({'border':'solid 1px #333','boxShadow':'0px 0px 6px #333'});
32	});
33	$('#content .text, .qtext, .ctext, .dtext, textarea').blur(function() {
34		$(this).css({'border':'solid 1px #ccc','boxShadow':'none'});
35	})
36}
37//全选复选框
38function funbox() {
39	//复选框选择
40	$('#table .indel').change(function() {
41		if (!$('#table .indel').prop('checked') == false) {
42			for (i=0; i<$('#table .delid').length; i++) {
43				if($('#table .delid').eq(i).attr('disabled') != "disabled")
44				$('#table .delid').eq(i).attr('checked',true);
45			}
46		}else {
47			for (i=0; i<$('#table .delid').length; i++) {
48				if($('#table .delid').eq(i).attr('disabled') != "disabled")
49				$('#table .delid').eq(i).attr('checked',false);
50			}
51		}
52	});
53	//全选
54	$('#page .selbox').click(function() {
55		for (i=0; i<$('#table .delid').length; i++) {
56			if($('#table .delid').eq(i).attr('disabled') != "disabled")
57			$('#table .delid').eq(i).attr('checked',true);
58		}
59		$('#table .indel').attr('checked',true);
60	});
61	//全不选
62	$('#page .unselbox').click(function() {
63		for (i=0; i<$('#table .delid').length; i++) {
64			if($('#table .delid').eq(i).attr('disabled') != "disabled")
65			$('#table .delid').eq(i).attr('checked',false);
66		}
67		$('#table .indel').attr('checked',false);
68	});
69	//反选
70	$('#page .anti').click(function() {
71		for (i=0; i<$('#table .delid').length; i++) {
72			if (!$('#table .delid').eq(i).prop('checked')==true) {
73				if($('#table .delid').eq(i).attr('disabled') != "disabled")
74				$('#table .delid').eq(i).attr('checked',true);
75			}else {
76				if($('#table .delid').eq(i).attr('disabled') != "disabled")
77				$('#table .delid').eq(i).attr('checked',false);
78			}
79		}
80	});
81}
82$(window).resize(function() {
83	win();
84});
85$(function() {
86    win();
87	shadow();
88	funbox();
89	lhide();
90});

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.