1jQuery(document).ready(function(){ 2 // íì´í ë³í 3 var replaceTitle = jQuery('.path').text().replace('HOME',"ìíì¡´"); 4 arrTitle = jQuery('.path').text().split(">"); 5 if(replaceTitle==''){ 6 }else{ 7 document.title=arrTitle[arrTitle.length-1] + " | " + "ìíì¡´"; 8 }; 9 10 // mobile navigation 11 $(".nav-menu").html($("#gnb").html()); 12 $(".btn-m-menu").click(function(e){ 13 e.preventDefault(); 14 if($("html").hasClass("menu-opened")){ 15 $("html").removeClass("menu-opened"); 16 }else{ 17 $("html").addClass("menu-opened"); 18 } 19 }); 20 21 $(".mobile-overlay").click(function(){ 22 $("html").removeClass("menu-opened"); 23 }); 24 25 $(".mobile-navigation nav > ul > li > a").click(function(){ 26 t = $(this).parent('li'); 27 if (t.hasClass('active')) { 28 t.removeClass('active'); 29 t.find('.submenu').slideUp('fast'); 30 }else { 31 $(".mobile-navigation nav li").removeClass('active'); 32 t.addClass('active'); 33 if(t.find('div').hasClass('submenu')){ 34 $(".mobile-navigation nav .submenu").slideUp('fast'); 35 t.find('.submenu').slideDown('fast'); 36 return false; 37 } 38 } 39 }); 40 41 // lnb mobile 42 if($(".lnb").width()<$(".lnb ul").width()){ 43 var lnbIndex = $(".lnb li.active").index(); 44 var lnbSwiper = new Swiper('.lnb .swiper-container', { 45 slidesPerView: 'auto', 46 initialSlide: lnbIndex 47 }); 48 }; 49 50 $(".mypage-nav-m p a").click(function(e){ 51 e.preventDefault(); 52 if($(".mypage-nav-m").hasClass("active")){ 53 $(".mypage-nav-m").removeClass("active"); 54 }else{ 55 $(".mypage-nav-m").addClass("active"); 56 } 57 }); 58 $(".mypage-nav-m p a").text($(".mypage-nav-m li.active a").text()); 59 60 61 // í 62 jQuery(".tab-content").hide(); 63 jQuery("ul.tabs>li:first").addClass("active").show(); 64 jQuery(".tab-content:first").show(); 65 66 jQuery("ul.tabs>li").click(function(e) { 67 e.preventDefault(); 68 69 jQuery("ul.tabs>li").removeClass("active"); 70 jQuery(this).addClass("active"); 71 jQuery(".tab-content").hide(); 72 73 jQuery("ul.tabs>li").find('img').attr("src" ,function(iIndex,sSrc){ 74 return sSrc.replace('_on.gif', '_off.gif'); 75 }); 76 77 jQuery("ul.tabs>li.active").find('img').attr("src",function(iIndex,sSrc){ 78 return sSrc.replace('_off.gif', '_on.gif'); 79 }); 80 81 var activeTab = jQuery(this).find("a").attr("href"); 82 jQuery(activeTab).fadeIn(); 83 return false; 84 }); 85 86 // top 87 $('.scroll-top').click(function(e) { 88 e.preventDefault(); 89 $('html, body').animate({scrollTop: 0}, 1200,'easeInOutQuint'); 90 return false 91 }); 92 93 // fancybox 94 jQuery(".pop_email").fancybox({ 95 padding : 0, 96 margin : 20, 97 fitToView : false, 98 maxWidth : "100%", 99 maxHeight : "100%", 100 width : 450, 101 height : 250, 102 autoSize : true, 103 closeClick : false, 104 openEffect : 'none', 105 closeEffect : 'none', 106 type : 'iframe', 107 helpers: { 108 overlay: { 109 locked: false 110 } 111 } 112 }); 113 114 115}); //End 116 117$(window).bind("load resize", function(){ 118 stageResize(); 119}); 120function stageResize(){ 121 var winH = $(window).height(), 122 headH = $("#header").height(), 123 subH = $(".sub-visual").height(), 124 lnbH = $(".lnb").height(), 125 footH = $("#footer").height(); 126 127 $("#container").css("min-height",winH-headH-subH-lnbH-footH); 128 129 130} 131
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.