PageSourceSearch

https://www.uljin.go.kr/rfc3/user/domain/www.uljin.go.kr.80/0/2497.js

js uljin.go.kr collected 2026-10-02 05:50:16 UTC 3,092 bytes, 123 lines download raw bytes

1$(document).ready(function(){
2	var mode = "";
3	mode = getDeivce();
4	function getDeivce(){
5		var mode = "PC";
6		if($(window).outerWidth(true) >= 1023){
7			mode = "PC";
8		}else if( $(window).outerWidth(true) < 768){
9			mode = "MO";
10		}else{
11			mode = "MO";
12		}
13		return mode;
14	}
15	$(".sns > button").on("click",function(){
16		if($(this).next("div").hasClass("on")){
17			$(this).next("div").removeClass("on");
18		}else{
19			$(this).next("div").addClass("on");
20		}
21		return false;
22	});
23	$(".lang > button").on("click",function(){
24		if($(this).next("div").hasClass("on")){
25			$(this).next("div").removeClass("on");
26		}else{
27			$(this).next("div").addClass("on");
28		}
29		return false;
30	});
31	$(".t_site > button").on("click",function(){
32		$(this).next("div").addClass("on");
33		return false;
34	});
35	$(".ts_wrap > button").on("click",function(){
36		$(".t_site > .ts_layer").removeClass("on");
37		return false;
38	});
39	$(".quick_menu .open").on("click",function(){
40		$(".quick_menu").removeClass("off");
41		return false;
42	});
43	$(".quick_menu .close").on("click",function(){
44		$(".quick_menu").addClass("off");
45		return false;
46	});
47	$(".f_site_link > h2 > a").on("click",function(){
48		$(this).parent().next("div").addClass("on");
49		return false;
50	});
51	$(".flink_list > button").on("click",function(){
52		$(this).parent().removeClass("on");
53		return false;
54	});
55	function getPcScript(){
56		$("#nav").removeClass("on").css({});
57		$("#nav_div #nav_ul > li > a").off();
58		$("nav").off();
59		$("#nav_div #nav_ul > li > a").on("mouseenter focusin",function(){
60			$("#nav_div #nav_ul > li").removeClass("on");
61			$(this).parent().addClass("on");
62			if($(this).next("div").length > 0){
63				return false;
64			}		
65		});
66		$("nav").on("mouseleave", function() {
67			$("#nav_div #nav_ul > li").removeClass("on");
68		})
69		$("*:not('nav *')").bind("focus",function(){
70			$("#nav_div #nav_ul > li").removeClass("on");
71		})
72	}
73	function getMoBileScript(){
74		$("#nav_div #nav_ul > li > a").off();
75		$("nav").off();
76		$(".nav_open").on("click",function(){
77			$("#nav").addClass("on").css({"overflow":"auto"});
78			return false;
79		});
80		$(".nav_close").on("click",function(){
81			$("#nav").removeClass("on").removeAttr("style");
82			return false;
83		});
84		$("#nav_div #nav_ul > li > a").on("click",function(){
85			$("#nav_div #nav_ul > li").removeClass("on");
86			$(this).parent().addClass("on");
87			if($(this).next("div").length > 0){
88				return false;
89			}		
90		});
91	}
92	$(".top_search > .sch_bt > button").on("click",function(){
93		$(this).parent().next("div").addClass("on");
94	});
95	$(".search_wrap > button").on("click",function(){
96		$("#search_box").removeClass("on");
97	});
98
99
100	if(mode == "PC"){
101		getPcScript();
102
103	}else{
104		getMoBileScript();
105
106	}
107	$(window).resize(function(){
108		mode = getDeivce();
109		if(mode != mode2){
110		if(mode == "PC"){
111			getPcScript();
112		}else if(mode == "MO"){
113			getMoBileScript();			
114		}
115		mode2 = mode;
116		}
117	});
118	var	mode2 = mode;
119$(".gotop").bind("click",function() {
120	$('html, body').animate({scrollTop : 0}, 500); 
121	return false;
122});
123});                                                                               

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.