1// ë©ì¸ë©ë´ ìì 2$('.site-nav div[class*="menu-main-nav"]').menumaker({ 3 title: "Menu", 4 format: "multitoggle" 5}); 6 7// íì´ì§ ë¤í¬ 모ë ì¶ê° 8jQuery(document).ready(function(){ 9 var base = $('.page-history .page-top, .page-award .page-top, .page-world-mission .page-top, .page-world .page-top'); 10 base.addClass('dark'); 11}); 12 13// Footer ë¤í¬ 모ë ì¶ê° 14jQuery(document).ready(function(){ 15 var footer_dark = $('.page-sermon .site-footer, .page-sermon .site-footer .sns-share'); 16 footer_dark.addClass('dark'); 17}); 18 19// ìë¸ë©ë´ 20jQuery(document).ready(function(){ 21 $("#menu-button").insertAfter(".site-nav h1"); 22 $('<div></div>',{ class : 'page-top-background'}).appendTo(".page-top"); 23 $(".page-top").wrap('<div class="page-top-nav"></div>'); 24 $('<input type="checkbox" id="topnav-play" class="topnav-play">').prependTo("header"); 25 $('<div class="topnav-actions"><div class="topnav-action topnav-action-menucta"><label for="topnav-play" class="localnav-menucta"><span class="topnav-action-ico"></span></label></div></div>').appendTo(".page-sub-nav"); 26 $('<label class="nav-curtain" for="topnav-play"></label>').appendTo(".global-container"); 27}); 28 29// ê²ìí ê¸ 30$('.search-btn').click(function(){ 31 $(this).toggleClass("active"); 32 $('.search-bar').toggleClass("active"); 33 if($(this).hasClass("active")) { 34 $(".search-ui input").focus(); 35 } else { 36 $(".search-ui input").blur(); 37 } 38}); 39 40// go top ì¤í¬ë¡¤ 41jQuery(document).ready(function(){ 42 43 // ì²ìì ì¨ê¹ 44 $("#gotop").hide(); 45 46 // ì¤í¬ë¡¤ ì ë ¸ì¶ 47 $(window).on('scroll', function () { 48 if ($(this).scrollTop() > 200) { 49 $('#gotop').fadeIn(); 50 } else { 51 $('#gotop').fadeOut(); 52 } 53 }); 54 55 // í´ë¦ ì 맨 ìë¡ ì´ë (íµì¬ ìì ) 56 $('#gotop').on('click', function(e){ 57 e.preventDefault(); 58 e.stopPropagation(); 59 60 $('html, body').stop().animate({ 61 scrollTop: 0 62 }, 800); 63 }); 64 65}); 66 67// Video Popup 68jQuery(document).ready(function($) { 69$(function(){ 70var url = $('.video-container iframe').attr('src'); 71 $('.video-button').click(function() { 72 $('.video-container').show(); 73 $('.video-container iframe').attr('allow', 'autoplay'); 74 }); 75 $('.close-video').click(function() { 76 $('.video-container').hide(); 77 $('.video-container iframe').attr('src', ''); 78 }); 79}); 80}); 81function open_in_frame(url) { 82 $('#videoFrame').attr('src', url); 83} 84function mylink(url) { 85 $('.video-container .btn').attr('href', url); 86} 87 88 89// href="#"ì¼ ê²½ì° í´ë¦ ë°©ì§ : ì¸ë¡ ë³´ë 90$('.service a[href=""], .service a[href="#"]').click(function(e) { 91 e.preventDefault(); 92}); 93 94 95// ê³µì© í ê¸ 96jQuery(document).ready(function(){ 97 $('.btn-toggle').click(function(){ 98 $(this).toggleClass('active'); 99 }); 100}); 101 102 103// ìë¸ ë©ë´ íì¬ íì´ì§ ê°ë¡ ìë ì¤í¬ë¡¤ 104jQuery(document).ready(function(){ 105 var tabsUl = document.querySelector('.tabs > ul'); 106 if (tabsUl) { 107 tabsUl.scrollLeft = 0; 108 var menus = document.getElementsByClassName('cat-item'); 109 for (var i = 0; i < menus.length; i++) { 110 if (menus[i].classList.contains('current-cat')) { 111 tabsUl.scrollLeft = menus[i].offsetLeft - 16; 112 } 113 } 114 } 115}); 116 117jQuery(document).ready(function(){ 118 var tabsMenu = document.querySelector('.tabs ul.menu'); 119 if (tabsMenu) { 120 tabsMenu.scrollLeft = 0; 121 var menus2 = document.getElementsByClassName('menu-item'); 122 for (var a = 0; a < menus2.length; a++) { 123 if (menus2[a].classList.contains('current_page_item')) { 124 tabsMenu.scrollLeft = menus2[a].offsetLeft - 16; 125 } 126 } 127 } 128}); 129 130// jQuery(document).ready(function(){ 131// document.querySelector('.tabs > ul').scrollLeft = 0; 132// var menus = document.getElementsByClassName('cat-item'); 133// for (var i = 0; i < menus.length; i++) { 134// if (menus[i].classList.contains('current-cat')) { 135// document.querySelector('.tabs > ul').scrollLeft = menus[i].offsetLeft - 16; 136// } 137// } 138// }); 139// jQuery(document).ready(function(){ 140// document.querySelector('.tabs ul.menu').scrollLeft = 0; 141// var menus2 = document.getElementsByClassName('menu-item'); 142// for (var a = 0; a < menus2.length; a++) { 143// if (menus2[a].classList.contains('current_page_item')) { 144// document.querySelector('.tabs ul.menu').scrollLeft = menus2[a].offsetLeft - 16; 145// } 146// } 147// }); 148 149 150// ë°ì¤í¬í ìì´ì½ ê³µì§ì¬í
151jQuery(document).ready(function(){ 152 $('.header-tools .ico-notice').click(function(){ 153 $(this).toggleClass('notice-close'); 154 $('.header-tools .notice-header').toggle(); 155 }); 156}); 157 158 159// .post-area ìì ë°ë¡ ë¤ì .views ììê° ìì ê²½ì° .views ë°ë¡ ìì post-area ììì ê°ì ì리먼í¸(::after)를 ìì 160const viewsElement = document.querySelector('.news-content-title .views'); 161 162// viewsElementê° ì¡´ì¬íëì§ íì¸ 163if (viewsElement && viewsElement.previousElementSibling) { 164 const previousElement = viewsElement.previousElementSibling; 165 previousElement.classList.add('post-area-none'); 166} 167 168// const viewsElement = document.querySelector('.news-content-title .views'); 169// const previousElement = viewsElement.previousElementSibling; 170// if (previousElement) { 171// previousElement.classList.add('post-area-none'); 172// } 173 174 175//ê³µì ë ì´ì´ íì 176jQuery(document).ready(function(){ 177 178 const modal = jQuery('.modal-share'); 179 180 // ëª¨ë¬ ë´ë¶ë§ ëìì¼ë¡ 181 modal.find('.kakaotalk').click(function(e){ 182 e.preventDefault(); 183 shareKatalk(); 184 }); 185 186 // ëª¨ë¬ ë´ë¶ addtoanyìë§ ì´ë 187 modal.find('.kakaotalk').appendTo(modal.find('.addtoany_list')); 188 189 // ëª¨ë¬ ì´ê¸° 190 jQuery('.btn-share').click(function(){ 191 modal.toggleClass('on'); 192 }); 193 194 // ëª¨ë¬ ë«ê¸° 195 modal.find('.modal-close').click(function(){ 196 modal.removeClass('on'); 197 }); 198 199});
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.