1 2 3/*============================ Æ÷Æ®Æú¸®¿À ½ºÅ©¸³Æ® ============================*/ 4$(function() { 5 // Æ÷Æ®Æú¸®¿À Ŭ¸¯½Ã ajax ·Îµå ¹× ·¹ÀÌ¾î ¸ð´Þ ÀÛµ¿ (°ü¸®ÀÚ·Î ·Î±×ÀÎÇßÀ» °æ¿ì´Â »ó¼¼ÆäÀÌÁö·Î À̵¿) 6 7}); 8$(function() { 9 $(window).load(function() { 10 var winWidth = $(window).width(); 11 if (winWidth < 1367) { 12 $(".portfolio-list").removeClass("portfolio-list1"); 13 14 } 15 if (winWidth > 1367) { 16 $(".portfolio-list1 > li a").click(function(e) { 17 if(!$("#check_admin").data('admin')) { 18 e.preventDefault(); 19 var loadURL = $(this).attr('href'); 20 var temp; 21 var subject; 22 var client; 23 var content; 24 25 $.ajax({ 26 url: loadURL, 27 type: 'GET', 28 async: false, 29 success: function(data) { 30 temp = $(data).find('#bo_v').html(); 31 subject = $.trim($(temp).find('#bo_v_title').text()); 32 client = $.trim($(temp).find('#info-client').text()); 33 content = $(temp).find('#bo_v_con').html(); 34 35 $("#pf-layer > .content > .title > h2, #pf-layer > .content > .title > p, #pf-layer > .content > .inner").html(''); 36 $("#pf-layer > .content > .title > h2").text(subject); 37 $("#pf-layer > .content > .title > p").text(client); 38 $("#pf-layer > .content > .inner").html(content); 39 $("#pf-layer").stop().fadeIn(300); 40 }, 41 error: function() { 42 alert('µ¥ÀÌÅ͸¦ ºÒ·¯¿À´Â µ¥ ½ÇÆÐÇÏ¿´½À´Ï´Ù. \n\n´Ù½Ã ½ÃµµÇØÁֽñ⠹ٶø´Ï´Ù.'); 43 } 44 }); 45 } 46 }); 47 48 // ·¹À̾î¸ð´Þ ´Ý±â 49 $("#pf-layer > .mask, #pf-layer .btn-close").click(function() { 50 $("#pf-layer").stop().fadeOut(300); 51 }); 52 } 53 }); 54}); 55 56// °Ô½ÃÆÇ Ä«Å×°í¸® ÅÇ (2017-08-08 Ãß°¡) 57$(function() { 58 59 // Ä«Å×°í¸® ¸µÅ© Ŭ¸¯½Ã 60 $(document).on('click', '#bo_gall > a', function() { 61 62 if(!$(this).hasClass('open')) { 63 $(this).addClass('open'); 64 $(this).next('ul.tab').css('display','block'); 65 } else { 66 $(this).removeClass('open'); 67 $(this).next('ul.tab').css('display','none'); 68 } 69 70 }); 71 72 // Ä«Å×°í¸® ¸µÅ© Ŭ¸¯½Ã 73 $(document).on('click', '#bo_list > a', function() { 74 75 if(!$(this).hasClass('open')) { 76 $(this).addClass('open'); 77 $(this).next('ul.tab').css('display','block'); 78 } else { 79 $(this).removeClass('open'); 80 $(this).next('ul.tab').css('display','none'); 81 } 82 83 }); 84 85}); 86 87// Æ÷Åä°¶·¯¸® Ä¿½ºÅ͸¶ÀÌ¡ 88$(function() { 89 var subject = new Array(); // °¶·¯¸® ½æ³×ÀÏ Á¦¸ñ ¹è¿º¯¼ö ¼±¾ð 90 var content = new Array(); // °¶·¯¸® ½æ³×ÀÏ ³»¿ë ¹è¿º¯¼ö ¼±¾ð 91 var url = new Array(); // °¢ ½æ³×ÀϺ° ¸µÅ© ÀúÀå¿ë º¯¼ö 92 var thumbCount; // ½æ³×ÀÏ °³¼ö (ÃßÃâ°³¼ö) 93 var refHeight; // ³ôÀÌ µ¿±âȸ¦ À§ÇÑ º¯¼ö 94 // °¶·¯¸® Ãʱ⼼ÆÃ 95 function galleryInit() { 96 if($(".portfolio-list2").length > 0) { 97 thumbCount = $("#fboardlist .bbsnewf5").length; 98 if($(".hoverBox").length > 0) { 99 $(".hoverBox").parent('a').remove(); 100 } 101 for(i=0; i<thumbCount; i++) { 102 url[i] = $("#fboardlist .bbsnewf5").eq(i).find('a:first').attr('href'); 103 subject[i] = $("#fboardlist .bbsnewf5").eq(i).find('h3').text(); 104 content[i] = $("#fboardlist .bbsnewf5").eq(i).find('p').text().replace('[°£·«¼³¸í : ','').replace(']' ,''); 105 // ½æ³×ÀÏ ÀÖ´Â td ³»ºÎ¿¡ hover È¿°ú¸¦ ÁÖ±â À§ÇÑ ¹Ú½º ÅÂ±× »ý¼º (°¢°¢ ½æ³×ÀÏ ³»¿¡ ¹Ýº¹¹®À¸·Î »ðÀÔ) 106 $("#fboardlist .bbsnewf5").eq(i).find('div.imgBox').append('<a href="' + url[i] + '"><div class="hoverBox"><div class="inner"><h3>' + subject[i] + '</h3><p>' + $.trim(content[i]) + '</p></div></div></a>'); 107 } 108 // ±âÁ¸¿¡ º¸¿©Áö´Â º°µµ td ÀÇ Á¦¸ñ, ³»¿ëÀº ¼û±è 109 //$(".infoArea").css('display','none'); 110 } 111 } 112 galleryInit(); 113}); 114 115 116 117$(function() { 118 $(".faq-list > li > .question").click(function() { 119 if(!$(this).parent().hasClass('open')) { 120 $(".faq-list > li").removeClass('open'); 121 $(".faq-list > li > .answer").stop().slideUp(300); 122 $(this).parent().addClass('open'); 123 $(this).siblings('.answer').stop().slideDown(300); 124 } else { 125 $(this).parent().removeClass('open'); 126 $(this).siblings('.answer').stop().slideUp(300); 127 } 128 }); 129});
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.