PageSourceSearch

https://rh-criminal.com/criminal/js/footer.js

js rh-criminal.com collected 2026-10-06 14:02:35 UTC 2,021 bytes, 67 lines download raw bytes

1// var chk = 0;
2
3// function inforClick(){
4//     if (chk == 0){
5//         $('footer.footer .top .rbx .bs_infor i').removeClass();
6//         $('footer.footer .top .rbx .bs_infor i').addClass('ri-arrow-up-s-line');
7//         $('footer.footer .address').stop().slideDown(300);
8//         $('html').animate({'scrollTop':$('body').height()},300);
9//         chk = 1;
10//     }
11//     else if (chk == 1){
12//         $('footer.footer .top .rbx .bs_infor i').removeClass();
13//         $('footer.footer .top .rbx .bs_infor i').addClass('ri-arrow-down-s-line');
14//         $('footer.footer .address').stop().slideUp(300);
15//         chk = 0;
16//     }
17// }
18
19function footerModalOn() {
20    var title = $(this).children('a').text();
21    var url;
22
23    $('.footerModal').addClass('on');
24    $('.footerModal .modal .cont dl').text(title);
25
26    switch (title) {
27        case '면책공고':
28            url = '/infor/disclaimer.html'; 
29            break;
30        case '이용약관':
31            url = '/infor/terms.html';
32            break;
33        case '개인정보처리방침':
34            url = '/infor/privacy.html';
35            break;
36        case '이메일무단수집거부':
37            url = '/infor/email_reject.html';
38            break;
39    }
40
41    $.ajax({
42        type: "GET",
43        url: url,
44        dataType: 'html', 
45        success: function (data) {
46            $('.footerModal .scrollText').html(data); 
47            $(".footerModal .scrollText").mCustomScrollbar({
48                theme: "ryu-theme"
49            });
50        },
51        error: function () {
52            $('.footerModal .scrollText').html('<p style="padding:20px;">준비중 입니다.</p>');
53        }
54    });
55
56    return false;
57}
58
59function footerModalOff() {
60    $('.footerModal .scrollText').mCustomScrollbar("destroy");
61    $('.footerModal').removeClass('on');
62}
63
64// 이벤트 바인딩
65$('footer.footer .top .rbx ul li').click(footerModalOn);
66$('.footerModal .modal .close').click(footerModalOff);
67$('.footerModal .bg').click(footerModalOff);

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.