1 2$(function(){ 3 //*** ê³µíµ *** 4 // input 5 $(".inp_r").on('keydown', function(e){ 6 if(e.keyCode == 32){ 7 $(this).children('label').addClass('on'); 8 $(this).children('input[type=radio]').attr('checked', 'checked'); 9 } 10 }); 11 12 /*$(".inp_c").on('change', function(){ 13 if($(this).children('label').attr('class') == 'on'){ 14 $(this).children('label').removeClass('on'); 15 $(this).children('input[type=checkbox]').removeAttr('checked'); 16 }else{ 17 $(this).children('label').addClass('on'); 18 $(this).children('input[type=checkbox]').attr('checked', 'checked'); 19 } 20 }); 21 $(".inp_c>input[type=checkbox]").on('focus', function(){ 22 $(this).parent('::before').css("display","block"); 23 });*/ 24 25 //*** list ***/ 26 $(".board_area .btn_share").click(function(){ 27 if($(".board_area .shareBox").attr('class') != 'shareBox'){ 28 $(".board_area .shareBox").hide().removeClass('on'); 29 }else{ 30 $(".board_area .shareBox").show().addClass('on'); 31 } 32 }); 33 34 function viewBtn_change(){ 35 if($(window).width() <= 670){ 36 var btnNum = $(".lineList_v .btnArea_v .btn>button").length; 37 $(".lineList_v .btnArea_v .btn").addClass('btn0' + btnNum); 38 }else{ 39 $(".lineList_v .btnArea_v .btn").removeAttr('class').addClass('btn'); 40 } 41 42 } 43 44 //*** qna *** 45 $(".answer_txt .a_list>li>p>a").click(function(){ 46 if($(this).attr('class') != 'on'){ 47 $(".answer_txt .a_list>li>p>a").removeClass('on'); 48 $(".answer_txt .a_list>li>.txtCms").slideUp('fast'); 49 $(this).addClass('on'); 50 $(this).parent().next().slideDown('fast'); 51 } 52 }); 53 54 //*** faq_q *** 55 /*$(".lineList_ul.typeFaq .btn_view").click(function(){ 56 if($(this).parent('li').attr('class') != 'on'){ 57 $(".lineList_ul.typeFaq>ul>li").removeClass('on'); 58 $(this).parent().addClass('on'); 59 } 60 });*/ 61 62 /*210614ìì*/ 63 $(".lineList_ul.typeFaq dt").each(function(){ 64 if($(this).parents('li').hasClass('on')){ 65 $(this).attr('title','ëµë³ì´ë¦¼'); 66 }else{ 67 $(this).attr('title','ëµë³ë«í'); 68 } 69 }); 70 71 $(".lineList_ul.typeFaq dt").click(function(){ 72 if($(this).parents('li').attr('class') != 'on'){ 73 $(".lineList_ul.typeFaq>ul>li").removeClass('on'); 74 $(this).parents('li').addClass('on'); 75 $(".lineList_ul.typeFaq dt").attr('title','ëµë³ë«í'); 76 $(this).attr('title','ëµë³ì´ë¦¼'); 77 } 78 }); 79 /*210614ë*/ 80 81 $(".lineList_ul.typeFaq dt").click(function(){ 82 if($(this).parents('li').attr('class') != 'on'){ 83 $(".lineList_ul.typeFaq>ul>li").removeClass('on'); 84 $(this).parents('li').addClass('on'); 85 } 86 }); 87 88 $(".lineList_ul.typeFaq dt").attr('tabindex','0').css('cursor','pointer');/*210614*/ 89 $(".lineList_ul.typeFaq li dd a").attr('tabindex','-1') 90 $(".lineList_ul.typeFaq li.on dd a").attr('tabindex','0') 91 $(".lineList_ul.typeFaq dt").keydown(function(e){ 92 var v_keyCode = event.keyCode || event.which; 93 if(v_keyCode == 13){ 94 $(this).trigger('click'); 95 $(this).next('dd').find('a').attr('tabindex','0') 96 return false; 97 } 98 }); 99 100 //*** thumbì´ë¯¸ì§ë¹ì¨ *** 101 function galleryRate(){ 102 $(".typeGalleryList .photo img").css("height", $(".typeGalleryList .photo").width() * 0.63); 103 104 $(".typeGallery>ul>li").css("height", ($(".typeGallery .photo").width() * 0.62) + 130); 105 $(".typeGallery .photo img").css("height", $(".typeGallery .photo").width() * 0.62); 106 107 $(".typeGallery.typeWebzine>ul>li").css("height", ($(".typeGallery.typeWebzine .photo").width() * 1.33) + 40); 108 $(".typeGallery.typeWebzine .photo img").css("height", $(".typeGallery.typeWebzine .photo").width() * 1.33); 109 } 110 111 $(window).bind('load resize', function(){ 112 galleryRate(); 113 viewBtn_change(); 114 }); 115});
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.