1$(document).ready(function(){ 2 var topBar = $("#header").offset(); 3 $(window).scroll(function(){ 4 var docScrollY = $(document).scrollTop() 5 var barThis = $("#header") 6 if( docScrollY > topBar.top ) { 7 barThis.addClass("hd_fix"); 8 }else{ 9 barThis.removeClass("hd_fix"); 10 } 11 }); 12 13 14 //»ó´Ü °Ë»ö 15 $(".btn_srch_toggle").click(function(){ 16 $("#header .pop_searchform").slideToggle(); 17 if ($(".nav_pop").css("display")!="none") 18 { 19 $(".nav_overlay").css("display", "none"); 20 $(".nav_pop").css("display", "none"); 21 } 22 }); 23 $(".btn_srch_close").click(function(){ 24 $("#header .pop_searchform").hide(); 25 }); 26 //ÆË¾÷¸Þ´º 27 $(".btn_navpop").click(function(){ 28 $(".nav_overlay").toggle(); 29 $(".nav_pop").toggle(); 30 $("html").addClass("mdovh"); 31 }); 32 $(".btn_navpop_close, .nav_overlay").click(function(){ 33 $(".nav_overlay").hide(); 34 $(".nav_pop").hide(); 35 $("html").removeClass("mdovh"); 36 }); 37 //¸¶ÀÌÀÎÆ÷ drop 38 $("#header .myinfo>a.memberInfo").click(function(){ 39 $("#header .myinfo>div").toggle(); 40 }); 41 42 43 /*¸ð¹ÙÀÏ ¸Þ´º*/ 44 $(".mnu_h>i").unbind('click').bind('click', function(e) { 45 console.log($(this).parent().parent("div").attr("class")); 46 e.preventDefault(); 47 $(this).parent().parent("div").toggleClass("on").siblings().removeClass("on"); 48 }); 49 50 $("div.btn_top").click(function(){ 51 $('html,body').animate({scrollTop: $("html").offset().top},1); 52 }); 53 54 $(document).mouseup(function (e){ 55 var layer_search = $(".pop_searchform"); 56 if(layer_search.has(e.target).length === 0){ 57 layer_search.css("display", "none"); 58 } 59 var layer_info = $(".myinfo > div"); 60 if(layer_info.has(e.target).length === 0){ 61 layer_info.css("display", "none"); 62 } 63 }); 64 65 66}) 67 68document.domain = "kmib.co.kr"; 69 70var ua = window.navigator.userAgent; 71var ret = encodeURIComponent(window.location); 72function replace(inum) { 73 inum = inum.replace(/%/g,"%25"); 74 inum = inum.replace(/&/g,"%26"); 75 inum = inum.replace(/\+/g,"%2B"); 76 return inum; 77} 78 79$(function(){$('#search').keydown(function( e ){if( e.keyCode==13 ){var val=escape($('#search').val());val=val.replace('%B7', '%u318D');val=val.replace('+','%2B');location.href='https://www.kmib.co.kr/search/searchResult.asp?searchWord='+val;}});});function goArticle() {var val=escape($('#search').val());val=val.replace('%B7', '%u318D');val=val.replace('+','%2B');location.href='https://www.kmib.co.kr/search/searchResult.asp?searchWord='+val; } 80function goLogin(){location.href='https://member.kmib.co.kr/login/login.asp?retUrl='+ret;} 81function goLogout(){ 82 var cnt; 83 $.ajax({ 84 type: "GET", 85 url: "/inc/logout.asp", 86 cache: false, 87 async: false, 88 success: function(data){ 89 $(".myinfo").html('<a href="javascript:goLogin();" aria-label="·Î±×ÀÎ"><i class="ico_user"></i></a>'); 90 }, 91 error: function(){ 92 } 93 }); 94} 95 96// ³×À̹öä³Î 97jQuery(function ($) { 98 $('.naver_ch').click(function (e) { 99 var src = "https://www.kmib.co.kr/naver_ch/pop_naver_ch.asp"; 100 $.modal('<iframe src="' + src + '" height="480" width="350" style="border:0;margin:0px auto;y-overflow:hidden;" scrolling="no" noresize>', { 101 opacity:80, 102 overlayCss: {backgroundColor:"#000"}, 103 closeHTML:"<a href='#' style='position:absolute;right:7px;top:5px;background:url(https://www.kmib.co.kr/naver_ch/btn_naverch_close.png) no-repeat;background-size:20px 20px;width:20px;height:20px;'></a>", 104 containerCss:{ 105 height:485, 106 padding:0, 107 width:350 108 }, 109 overlayClose:true 110 }); 111 }); 112}); 113 114/* ±¸±Û */ 115document.write("<scr"+"ipt src=\"https://www.google.com/jsapi\" type=\"text/javascript\"></scr"+"ipt>"); 116 117 118document.write("
vendor: 63 bytes, line 118
118<script async src='https://www.googletagmanager.com/gtag/js?id=
118UA-55134398-1
vendor: 11 bytes, line 118
118'></script>
118"); 119window.dataLayer = window.dataLayer || []; 120function gtag(){dataLayer.push(arguments)}; 121gtag('js', new Date()); 122gtag('config', 'UA-55134398-1');
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.