1$(document).ready(function(){ 2 3 // 4 $('#navPC .depth1').hover(function(){ 5 $('#navPC .depth2').stop().slideDown(); 6 7 },function(){ 8 $('#navPC .depth2').stop().slideUp(); 9 }); 10 11 12 // 13 var jbOffset = $( '#header' ).offset(); 14 $( window ).scroll( function() { 15 if ( $( document ).scrollTop() > (jbOffset.top+0) ) { 16 $( '#header' ).addClass( 'hd-up' ); 17 } 18 else { 19 $( '#header' ).removeClass( 'hd-up' ); 20 $('.navMobile_menu .depth1 .depth2').slideUp(200); 21 $('.navMobile_menu .depth1 span').removeClass('on'); 22 $('#gnb_menu').removeClass('on'); 23 $('#gnb_menu_box').animate({right:'-1100px'}); 24 } 25 }); 26 27 $('#header .navM_open').click(function(){ 28 if ($('#header').hasClass('open')) 29 { 30 $('#header').removeClass('open'); 31 $('body, html').removeClass('open'); 32 }else{ 33 $('#header').addClass('open'); 34 $('body, html').addClass('open'); 35 } 36 }); 37 38 $('#navMobile .depth1>div').click(function(){ 39 $(this).next('.depth2').slideDown(); 40 if($(this).hasClass('on')){ 41 $(this).removeClass('on'); 42 $(this).siblings('.depth2').stop().slideUp(); 43 }else{ 44 $('#navMobile .depth1>div').removeClass('on'); 45 $(this).addClass('on'); 46 $(this).siblings('.depth2').stop().slideDown(); 47 } 48 }); 49 50 51 52 $("#s_gnb .s_depth2 .smenu .dep3").removeAttr("href"); 53 $("#navMobile .smenu .dep3").removeAttr("href"); 54 55 $('.dep3').click(function(){ 56 $(this).next('.depth3').slideDown(); 57 if($(this).hasClass('on')){ 58 $(this).removeClass('on'); 59 $(this).siblings('.depth3').stop().slideUp(); 60 }else{ 61 $('.dep3').removeClass('on'); 62 $(this).addClass('on'); 63 $(this).siblings('.depth3').stop().slideDown(); 64 } 65 }); 66 67 68 $("#schOpen").click(function(){ 69 $("#schWrap").slideToggle(); 70 $(this).toggleClass('on'); 71 }); 72 73 74});
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.