PageSourceSearch

https://www.helpage.or.kr/wp-content/themes/helpage/assets/js/site_function.js?ver=5.3.6

js helpage.or.kr collected 2026-10-02 19:31:17 UTC 1,740 bytes, 52 lines download raw bytes

1//MOBILE MENU
2jQuery("header .nav .nav-icon").click(function() {
3	jQuery(this).toggleClass("active");
4	jQuery("header .navbar").toggleClass("active");
5});
6jQuery(document).on("click",".nav .navbar.active>li.menu-item-has-children > a", function() {
7	jQuery(this).removeAttr('href');
8	var is_display = jQuery(this).next(".sub-menu").css("display");
9	if (is_display == "block") {
10		jQuery(this).next(".sub-menu").stop().slideUp();
11		jQuery(this).parent('li').removeClass('active');
12	} else {
13		jQuery(".navbar.active>li>.sub-menu").stop().slideUp();
14		jQuery(this).next(".sub-menu").stop().slideDown();
15		jQuery(".nav .navbar.active>li.menu-item-has-children").removeClass('active');
16		jQuery(this).parent('li').addClass('active');
17	}
18	return false;
19});
20
21//Top 버튼
22jQuery('.to-top').click(function() {
23	jQuery('html, body').animate({
24		scrollTop: 0
25	}, 400);
26	return false;
27});
28
29//서브 탭
30// jQuery(document).on('click', '.sub-wrap .tab-nav.active a', function() {
31// 	jQuery('html, body').animate({scrollTop : 0}, 500);
32// });
33//
34// jQuery(window).scroll(function(){
35//    var anchorHeight = $('.sub-wrap .tab-nav').offset().top;
36//    if(jQuery(this).scrollTop() >= anchorHeight) {
37// 	   jQuery('.sub-wrap .tab-nav').addClass('active');
38//    } ;
39//    if(jQuery(this).scrollTop() == 0) {
40// 	  jQuery('.sub-wrap .tab-nav').removeClass('active');
41//    }
42// });
43
44
45jQuery("textarea").change(function(){
46	var current_val = jQuery(this).val();
47
48	current_val = current_val.replace(/</g, "&lt;").replace(/>/g, "&gt;");
49	current_val = current_val.replace(/'/g, "&quot;").replace(/"/g, '&#39;');
50	current_val = current_val.replace(/(<([^>]+)>)/ig,"");
51	jQuery(this).val(current_val);
52});

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.