PageSourceSearch

https://www.kahta.or.kr/inc/js/common.js?ver=2026100617

js kahta.or.kr collected 2026-10-06 08:10:17 UTC 4,101 bytes, 121 lines download raw bytes

1// 폼빌더의 table, column의 구분자.
2var SP = '〓○〓';
3
4var oEditorsObj = []; // 스마트 에디터 사용 변수.
5
6// url 파라미터 값 가져오기
7function getUrlVar(key) {
8    var result = new RegExp(key + "=([^&]*)", "i").exec(window.location.search);
9    return result && unescape(result[1]) || "";
10}
11
12var icheckInit = function(className){
13
14    if(className == "" || className == null) className="icheck";
15    // Handles custom checkboxes & radios using jQuery iCheck plugin
16    if (!$().iCheck) {
17        return;
18    }
19
20    $("."+className).each(function() {
21        var checkboxClass = $(this).attr('data-checkbox') ? $(this).attr('data-checkbox') : 'icheckbox_square-blue';
22        var radioClass = $(this).attr('data-radio') ? $(this).attr('data-radio') : 'iradio_square-blue';
23
24        if (checkboxClass.indexOf('_line') > -1 || radioClass.indexOf('_line') > -1) {
25            $(this).iCheck({
26                checkboxClass: checkboxClass,
27                radioClass: radioClass,
28                insert: '<div class="icheck_line-icon"></div>' + $(this).attr("data-label"),
29                increaseArea: '20%' // optional
30            });
31        } else {
32            $(this).iCheck({
33                checkboxClass: checkboxClass,
34                radioClass: radioClass,
35                increaseArea: '20%' // optional
36            });
37        }
38    });
39};
40
41var callPdf   = function(param1, datas){
42    var urls            = 'https://www.manuscriptlink.com/journals/kics/public/certification/'+param1;
43    if(typeof datas =='object'){
44        var data        = datas;
45    }else{
46        var data        = JSON.parse(datas);
47    }
48
49    var windowReference = window.open('about:blank', "", "toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,width=740,height=900");
50
51    data.apiKey         = 'b8f70c272e954afb98266a249c03b495';
52    data.apiSecret      = 'b50a8aac9553459eaf85aae3f493784a';
53
54    $.ajax({
55        url     : urls,
56        type    : 'POST',
57        dataType:'json',
58        data    : data
59    })
60    .fail(function(data){
61        var responseText    = $.trim(data.responseText);
62        var status          = data.status;
63
64        if(status == 200 && responseText != '') {
65            windowReference.location.href    = responseText;
66        }else{
67            alert('관리자에게 문의 해주세요.');
68        }
69    })
70
71};
72
73
74// header - index.js에서 이동 (240904) : common script
75
76$(function() {
77
78    /* ============================= 정관2 탭 전용 common script ============================= */
79    $('.r_contents').hide();
80    $('.r_contents:first').show();
81    $('ul.tab.type02 li').on('click', function() {
82        $(this).siblings('li').removeClass("on");
83        $(this).addClass('on');
84        
85        $('.r_contents').hide();
86        const activeTab     = $(this).attr('rel');
87        $(`#${activeTab}`).fadeIn();
88    });
89
90    $('.rn_contents').hide();
91    $('.rn_contents:first').show();
92    $('ul.tab.type03 li').on('click', function() {
93        $(this).siblings('li').removeClass("on");
94        $(this).addClass('on');
95        
96        $('.rn_contents').hide();
97        const activeTab     = $(this).attr('rel');
98        $(`#${activeTab}`).fadeIn();
99    });
100
101
102    /* ============================= 공통 탭 common script ============================= */
103    // 각 탭 버튼 눌렀을 시 클릭된 탭 강조 효과
104
105    for (let i = 1; i <= 4; i++) {
106        $(`.tab0${i} > ul > li`).on('click', function() {
107            $(this).addClass('on');
108            $(this).siblings('li').removeClass('on');
109        });
110    }
111
112    // 화면 전환형 탭의 경우 버튼 클릭시 컨텐츠 변경
113    for (let i = 1; i <= 4; i++) {
114        for (let j = 1; j < 100; j++) {
115            $(`.tab0${i}_btn_${j}`).on('click', function() {
116                $(`.tab0${i}_content_${j}`).siblings('div').fadeOut(100);
117                $(`.tab0${i}_content_${j}`).delay(100).fadeIn(100);
118            })
119        }
120    }
121});

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.