// ½ºÅ©·Ñ Up/Down Detect $( function () { // Initial state let scrollPos = 0; // adding scroll event window.addEventListener( 'scroll', function () { const curPos = document.body.getBoundingClientRect().top; if(scrollPos > -10) { $('body').removeClass('scrollDown') $('body').addClass('scrollUp') } else if ( curPos > scrollPos ) { $('body').removeClass('scrollDown') $('body').addClass('scrollUp') } else { $('body').removeClass('scrollUp') $('body').addClass('scrollDown') } scrollPos = curPos; } ); } ); function isPC() { var $winWidth = $( window ).width(); if ( $winWidth > 1024 ) { return true; } else { return false; } } // URL ÆÄ¶ó¹ÌÅÍ ºÒ·¯¿À±â var getUrlParameter = function getUrlParameter( sParam ) { var sPageURL = decodeURIComponent( window.location.search.substring( 1 ) ), sURLVariables = sPageURL.split( '&' ), sParameterName, i; for ( i = 0; i < sURLVariables.length; i++ ) { sParameterName = sURLVariables[i].split( '=' ); if ( sParameterName[0] === sParam ) { return sParameterName[1] === undefined ? true : sParameterName[1]; } } }; /* ----------------- ¸Þ´º ¹× ÅÇ È°¼ºÈ ½ºÅ©¸³Æ® ----------------- */ $( document ).ready( function () { var depth1 = getUrlParameter( 'top' ) - 1; var depth2 = getUrlParameter( 'sub' ) - 1; $( "#gnb > li" ).eq( depth1 ).addClass( 'on123' ); $( "#gnb > li" ).eq( depth1 ).find( 'ul' ).children().eq( depth2 ).addClass( 'on' ); } ); // Çì´õ ¹× GNB °ü·Ã °øÅë ½ºÅ©¸³Æ® $( function () { const $gnb = $( "#gnbWrapper" ) const $gnbTrigger = $( "#gnbTrigger" ) // ¸ð¹ÙÀÏ¿ë GNB ¹öư let urlPath = document.location.href // GNB ºñȰ¼ºÈ function gnbdeActive() { $gnb.removeAttr( 'style' ); $( "#gnb > li > ul" ).removeAttr( 'style' ); $gnbTrigger.removeClass( 'open' ); $( "body" ).removeClass( 'lock' ); $( "#gnb > li" ).off( 'mouseenter' ).off( 'mouseleave' ); } // GNB ¸¶¿ì½º¿À¹ö $( "#gnb > li" ).on( "mouseenter", function () { $( this ).addClass( 'on' ) } ); // GNB ¸¶¿ì½º¾Æ¿ô $( "#gnb > li" ).on( "mouseleave", function () { if ( $( this ).data( 'currentPage' ) == true ) return; $( this ).removeClass( 'on' ) } ); $( `#gnb > li a[href="${ document.location.pathname }"]` ).closest( 'li' ).data( 'currentPage', true ).addClass( 'on' ); // ¸ð¹ÙÀϸ޴º Åä±Û¹öư Ŭ¸¯ $gnbTrigger.on( "click", function () { if ( !$( this ).hasClass( 'open' ) ) { $("#gnbWrapper").addClass('isActive'); $( this ).addClass( 'open' ); $( "body" ).addClass( 'lock' ); $("#logo").addClass('mobile'); } else { $("#gnbWrapper").removeClass('isActive'); $( this ).removeClass( 'open' ); $( "body" ).removeClass( 'lock' ); $("#logo").removeClass('mobile'); } } ); // À©µµ¿ì ¸®»çÀÌ¡ ó¸® $( window ).on( 'resize', function () { var $winWidth = $( this ).width(); if ( $winWidth > 1200 ) { //$logo.removeAttr('style'); gnbdeActive(); } else { if ( !$gnbTrigger.hasClass( 'open' ) ) { //$logo.removeAttr('style'); } } } ); } ); // À©µµ¿ì À̺¥Æ® $( window ).load( function () { var elem = $( ".scrollreveal" ); var sty = { 'opacity': '0', 'transition': 'none' } elem.css( sty ); /*$("html, body").animate({scrollTop:'10'}, 10, function() { $("html, body").animate({scrollTop:'0'}, 0); });*/ // ½ºÅ©·Ñ½Ã ¾Ö´Ï¸ÞÀÌ¼Ç Ã³¸® $( window ).bind( 'scroll', function () { var winWidth = $( this ).width(); var winTop = $( this ).scrollTop(); var winHeight = $( this ).height(); var docHeight = $( document ).height(); var hdHeight = $( "#header" ).height(); var elemHeight; var showDelay = 0; if ( winWidth > 1007 ) { if ( winTop >= hdHeight ) { if ( !$( "#header" ).hasClass( 'fixed' ) ) { $( "#header" ).addClass( 'fixed' ); $( "#scrollTop" ).stop( true, false ).fadeIn( 300 ); } } else { $( "#header" ).removeClass( 'fixed' ); $( "#scrollTop" ).stop( true, false ).fadeOut( 300 ); } } elem.each( function () { var etop = $( this ).offset().top; var eh = $( this ).height(); var delay = $( this ).data( 'delay' ); if ( delay == null ) { delay = 100; } if ( winTop >= etop - winHeight ) { if ( !$( this ).hasClass( 'animated' ) ) { var aniOptions; var styR = { 'position': 'relative', 'top': '30px' } var sty = { 'top': '30px' } if ( $( this ).css( 'position' ) == 'static' ) { aniOptions = { 'opacity': '1', 'top': '0' } $( this ).css( styR ); } else if ( $( this ).css( 'position' ) == 'absolute' ) { aniOptions = { 'opacity': '1', } } else { aniOptions = { 'opacity': '1', 'top': '0' } $( this ).css( sty ); } showDelay += delay; $( this ).stop().delay( showDelay ).animate( aniOptions, 500, function () { var sty = { 'position': '', 'top': '', 'opacity': '', 'transition': '' } $( this ).css( sty ); } ); $( this ).addClass( 'animated' ); } } } ); } ); } ); // ÆäÀÌÁö ·Îµù $( window ).load( function () { $( "#page-loader" ).fadeOut( 600, function () { $( "#page-loader" ).delay( 100 ).remove(); } ); } ); $( function () { // ½ºÅ©·Ñ ¹öư À̺¥Æ® $( "#scrollTop" ).bind( 'mouseenter mouseleave click', function ( e ) { if ( e.type === 'mouseenter' ) { if ( !$( this ).hasClass( 'on' ) ) { $( this ).addClass( 'on' ); } } else if ( e.type === 'click' ) { $( "html, body" ).stop().animate( { scrollTop: '0' }, 500, 'easeInOutExpo' ); } else { $( this ).removeClass( 'on' ); } } ) } ); // °Ô½ÃÆÇ Ä«Å×°í¸® ÅÇ (2019-04-23 Ãß°¡) $( function () { // Ä«Å×°í¸® ¸µÅ© Ŭ¸¯½Ã $( document ).on( 'click', '.sub_tab > a', function () { if ( !$( this ).hasClass( 'open' ) ) { $( this ).addClass( 'open' ); $( this ).next( 'ul#tab_menu' ).css( 'display', 'block' ); } else { $( this ).removeClass( 'open' ); $( this ).next( 'ul#tab_menu' ).css( 'display', 'none' ); } } ); // Ä«Å×°í¸® ¸µÅ© Ŭ¸¯½Ã $( document ).on( 'click', '#bo_list .board_tab_spec > a', function () { if ( !$( this ).hasClass( 'open' ) ) { $( this ).addClass( 'open' ); $( this ).next( 'ul.tab' ).css( 'display', 'block' ); } else { $( this ).removeClass( 'open' ); $( this ).next( 'ul.tab' ).css( 'display', 'none' ); } } ); } ); /* ----------------- ½ºÅ©·Ñ Çì´õ °íÁ¤ ----------------- */ /*$(window).scroll(function() { if(isPC() === true) { var scroll_h = $(this).scrollTop(); var hd_h = $("#header > .top").outerHeight(); if(scroll_h > hd_h) { if(!$("body").hasClass('scroll')) $("body").addClass('scrollfix'); } else { $("body").removeClass('scrollfix') } } }); $(window).scroll(function() { var _top = $(this).scrollTop(); if(_top > 0) { if(!$("body").hasClass('scroll')) { $("body").addClass('scroll'); $("#scrollTop").stop(true,false).fadeIn(300); } } else { $("body").removeClass('scroll'); $("#scrollTop").stop(true,false). fadeOut(300); } });*/ // SIMPLE MOBILE CHECK function is_mobile() { return (/Android|iPhone|iPad|iPod|BlackBerry|Windows Phone/i).test( navigator.userAgent || navigator.vendor || window.opera ); } function is_mobile_ios() { return !!navigator.platform && /iPad|iPhone|iPod/.test( navigator.platform ); } $( function () { var motion_button = $( '.wr_btn' ); if ( !is_mobile() ) { motion_button.hover( function () { $( this ).addClass( 'hover' ) }, function () { $( this ).removeClass( 'hover' ) } ); } } ); /* ----------------- ¸Þ´º ¹× ÅÇ È°¼ºÈ ½ºÅ©¸³Æ® ----------------- */ $( document ).ready( function () { var depth1 = getUrlParameter( 'top' ) - 1; var depth2 = getUrlParameter( 'sub' ) - 1; $( "#nav > li" ).eq( depth1 ).addClass( 'on_' ); $( ".menu-item" ).eq( depth1 ).find( 'ul' ).children().eq( depth2 ).addClass( 'on' ); $( "#tab_menu[data-role=menu]" ).children().eq( depth2 ).addClass( 'active' ); } ); /* ----------------- ¸ÞÀÎÆäÀÌÁö Àü¿ë ½ºÅ©¸³Æ® ----------------- */ /* ----------------- ¼ºêÆäÀÌÁö Àü¿ë ½ºÅ©¸³Æ® ----------------- */ // µÑ·¯º¸±â ½ºÅ©¸³Æ® $( document ).ready( function () { var old_images = []; // ÃÖÃÊ »óÅÂÀÇ °¢ ÅÇ ¸ÞÀÎ ½æ³×ÀÏÀ» º¯¼ö¿¡ ÀúÀå $( "#facilitySlider .big-thumb .thumb-list > li" ).each( function ( i ) { old_images[i] = $( this ).find( 'img' ).attr( 'src' ); i++; } ); // 1´Ü°è : Ãþº° ÅÇ Å¬¸¯½Ã º¸¿©Áö´Â ÅÇ ³»¿ëÀ» ±³Ã¼ & °¢ ÃþÀÇ ´ëÇ¥ À̹ÌÁö·Î ÃʱâÈ $( "#facilitySlider .big-thumb .floor-tab > li" ).click( function () { var tab_index = $( this ).index(); $( "#facilitySlider .big-thumb .floor-tab > li" ).removeClass( 'active' ); $( this ).addClass( 'active' ); $( "#facilitySlider .big-thumb .thumb-list > li" ).removeClass( 'active' ); $( "#facilitySlider .big-thumb .thumb-list > li" ).eq( tab_index ).find( 'img' ).attr( 'src', old_images[tab_index] ); $( "#facilitySlider .big-thumb .thumb-list > li" ).eq( tab_index ).addClass( 'active' ); $( "#facilitySlider .floor-container > .floor-info .thumb-list > li" ).removeClass( 'selected' ); $( "#facilitySlider .floor-container > .floor-info" ).removeClass( 'active' ); $( "#facilitySlider .floor-container > .floor-info" ).eq( tab_index ).addClass( 'active' ); } ); // 2´Ü°è : °¢ Ãþº° ³»ºÎ ½æ³×ÀÏ Å¬¸¯½Ã ´ëÇü ½æ³×ÀÏ ±³Ã¼ $( "#facilitySlider .floor-container > .floor-info .thumb-list > li" ).click( function () { var thumb_img = $( this ).find( 'img' ).attr( 'src' ); $( "#facilitySlider .floor-container > .floor-info .thumb-list > li" ).removeClass( 'selected' ); $( this ).addClass( 'selected' ); $( "#facilitySlider .big-thumb .thumb-list > li.active" ).find( 'img' ).attr( 'src', thumb_img ); } ); } ); $( function () { $( ".faq-list > li > .question" ).click( function () { if ( !$( this ).parent().hasClass( 'open' ) ) { $( ".faq-list > li" ).removeClass( 'open' ); $( ".faq-list > li > .answer" ).stop().slideUp( 300 ); $( this ).parent().addClass( 'open' ); $( this ).siblings( '.answer' ).stop().slideDown( 300 ); } else { $( this ).parent().removeClass( 'open' ); $( this ).siblings( '.answer' ).stop().slideUp( 300 ); } } ); } ); function gnbController( mainClass, subClass, thirdClass ) { var mainChk = $( "#nav>li>a" ); // 1st for ¹®¿¡¼ length ¸¦ üũÇÒ Ç׸ñ ±âÁØ. var mainChk2 = $( "#tab_menu>li>a" ); var mainChk3 = $( "#tab_menu_se>li>a" ); for ( var i = 0; i < mainChk.length; i++ ) { var subChk = $( "#nav>li" ).eq( i ); //º¯¼ö i ¿¡ µû¶ó ´ëºÐ·ù li°¡ ´Þ¶óÁø´Ù if ( subChk.find( "a" ).eq( 0 ).text() == mainClass ) { //üũÇÒ Ç׸ñ "ÅõÀÚÁ¤º¸" ¿¡ µµ´ÞÇϸé Á¶°ÇÀ» °Ç´Ù //subChk.eq(0).addClass("selected"); subChk.find( "a" ).eq( 0 ).addClass( "selected" ); subChk.find( ".menu-item" ).eq( 0 ).show(); $( "#header_wrap_bg" ).stop().animate( { left: "120px" }, 'fast', "easeOutQuart" ); for ( var z = 0; z < subChk.find( "li>a" ).length; z++ ) { // ´ëºÐ·ùiÀÇ À§Ä¡¿¡ µû¸¥ ¼ÒºÐ·ù length if ( subChk.find( "li>a" ).eq( z ).text() == subClass ) { subChk.find( "li>a" ).eq( z ).addClass( "selected" ); } else { subChk.find( "li>a" ).eq( z ).removeClass( "selected" ); } } ; } else { subChk.find( "a" ).eq( 0 ).removeClass( "selected" ); } } ; for ( var i = 0; i < mainChk2.length; i++ ) { var subChk2 = $( "#tab_menu>li" ).eq( i ); //º¯¼ö i ¿¡ µû¶ó ´ëºÐ·ù li°¡ ´Þ¶óÁø´Ù if ( subChk2.find( "a" ).eq( 0 ).text() == subClass ) { //üũÇÒ Ç׸ñ "ÅõÀÚÁ¤º¸" ¿¡ µµ´ÞÇϸé Á¶°ÇÀ» °Ç´Ù //subChk.eq(0).addClass("selected"); subChk2.find( "a" ).eq( 0 ).addClass( "selected" ); subChk2.find( ".menu-item" ).eq( 0 ).show(); for ( var z = 0; z < subChk2.find( "li>a" ).length; z++ ) { // ´ëºÐ·ùiÀÇ À§Ä¡¿¡ µû¸¥ ¼ÒºÐ·ù length if ( subChk2.find( "li>a" ).eq( z ).text() == subClass ) { subChk2.find( "li>a" ).eq( z ).addClass( "selected" ); } else { subChk2.find( "li>a" ).eq( z ).removeClass( "selected" ); } } ; } else { subChk2.find( "a" ).eq( 0 ).removeClass( "selected" ); } } ; for ( var i = 0; i < mainChk3.length; i++ ) { var subChk3 = $( "#tab_menu_se>li" ).eq( i ); //º¯¼ö i ¿¡ µû¶ó ´ëºÐ·ù li°¡ ´Þ¶óÁø´Ù if ( subChk3.find( "a" ).eq( 0 ).text() == thirdClass ) { //üũÇÒ Ç׸ñ "ÅõÀÚÁ¤º¸" ¿¡ µµ´ÞÇϸé Á¶°ÇÀ» °Ç´Ù subChk3.find( "a" ).eq( 0 ).addClass( "selected" ); subChk3.find( ".menu-item" ).eq( 0 ).show(); for ( var z = 0; z < subChk3.find( "li>a" ).length; z++ ) { // ´ëºÐ·ùiÀÇ À§Ä¡¿¡ µû¸¥ ¼ÒºÐ·ù length if ( subChk3.find( "li>a" ).eq( z ).text() == subClass ) { subChk3.find( "li>a" ).eq( z ).addClass( "selected" ); } else { subChk3.find( "li>a" ).eq( z ).removeClass( "selected" ); } } ; } else { subChk3.find( "a" ).eq( 0 ).removeClass( "selected" ); } } ; }; $( function () { var winW = $( window ).width(); } ); $( function () { var $elem = $( ".fixed_inquiry" ); var $height = $elem.find( '.inner' ).height(); // ¿°í´Ý±â ¹öư Ŭ¸¯½Ã $( "#fixedToggle" ).click( function () { var isClosed = $elem.hasClass( 'closed' ); if ( isClosed === false ) { $elem.stop( true, true ).animate( { bottom: 0 }, 300 ); //$elem.stop(true,true).animate({right:-($width + 33) + 'px'}, 300); $elem.addClass( 'closed' ); } else { $elem.stop( true, true ).animate( { bottom: -($height) + 'px' }, 300 ); $elem.removeClass( 'closed' ); } } ); // ÃÖ±Ù º» »óǰ ¹èºÐÁ¤·Ä ó¸® // if($(".recentList").length > 0) { // $(".recentList").append('
'); // } } ); /* ----------------- ¸Þ´º °ü·Ã ½ºÅ©¸³Æ® ----------------- */ $( document ).ready( function () { var allMenu2 = $( "#all-menu2" ); var mnuEasing = "easeInOutExpo"; // ¸ÞÀθ޴º ¸¶¿ì½º ¿Ã·ÈÀ» ½Ã ¼ºê¸Þ´º Ç¥Ãâ // Àüü¸Þ´º ¿±â function allMenuOpen2() { if ( !allMenu2.hasClass( 'open' ) ) { allMenu2.addClass( 'open' ); allMenu2.find( '.menu-layer' ).removeAttr( 'style' ); allMenu2.find( '.menu-layer' ).css( { top: '-100%', opacity: '0' } ); allMenu2.fadeIn( 400 ); allMenu2.find( '.menu-layer' ).stop().animate( { top: '50%', opacity: '1' }, 800, mnuEasing ); $( "body" ).addClass( 'fixed' ); } } // Àüü¸Þ´º ´Ý±â function allMenuClose2() { allMenu2.removeClass( 'open' ); allMenu2.find( '.menu-layer' ).stop().animate( { top: '-100%', opacity: '0' }, 600, mnuEasing ); allMenu2.fadeOut( 1000 ); $( "body" ).removeClass( 'fixed' ); } // Àüü¸Þ´º ¿±â ¹öư Ŭ¸¯ $( ".btn-allmenu2" ).click( function () { allMenuOpen2(); } ); // Àüü¸Þ´º ´Ý±â ¹öư Ŭ¸¯ $( ".btnClose2" ).click( function () { allMenuClose2(); } ); // ¸¶½ºÅ©¿µ¿ª Ŭ¸¯½Ã Àüü¸Þ´º ´Ý±â $( "#all-menu2 .mask2" ).click( function () { allMenuClose2(); } ); } ); $( function () { //btn_top $( ".go_scroll" ).click( function ( e ) { $( 'html, body' ).stop().animate( { scrollTop: 0 }, 500, "easeInOutQuart" ); return false; } ); } ); $( function () { $( ".mobile_inquiry_btn" ).click( function ( e ) { if ( !$( ".fixed_inquiry" ).hasClass( 'open' ) ) { $( ".fixed_inquiry" ).addClass( 'open' ); } else { $( ".fixed_inquiry" ).removeClass( 'open' ); } } ); } ); $( function () { //btn_top $( ".btnClose4" ).click( function ( e ) { $( ".fixed_inquiry" ).removeClass( 'open' ); return false; } ); } ); /* ----------------- °Ô½ÃÆÇ Àü¿ë ½ºÅ©¸³Æ® ----------------- */ // À̹ÌÁö ¹öư ÅØ½ºÆ®·Î ´ëü $( document ).ready( function () { // °ü¸®ÀÚ Àü¿ë ¹öư replace function admBtnReplace() { var $url = window.location.href; var $readpage = $url.indexOf( 'read_form' ); $( "#sub_container .sub_inner img" ).each( function () { var $src = $( this ).attr( 'src' ); // »èÁ¦ if ( $src.indexOf( 'btn_sdel.gif' ) > -1 && $readpage < 0 ) { var $opt = $( this ).attr( 'onclick' ); var $link = "»èÁ¦"; $( this ).before( $link ); $( this ).remove(); } // À̵¿ if ( $src.indexOf( 'move.gif' ) > -1 && $readpage < 0 ) { var $opt = $( this ).attr( 'onclick' ); var $link = "À̵¿"; $( this ).before( $link ); $( this ).remove(); } // º¹»ç if ( $src.indexOf( 'copy.gif' ) > -1 && $readpage < 0 ) { var $opt = $( this ).attr( 'onclick' ); var $link = "º¹»ç"; $( this ).before( $link ); $( this ).remove(); } // À̵¿ (ºäÆäÀÌÁö) if ( $src.indexOf( 'move.gif' ) > -1 && $readpage > -1 ) { $( this ).parent( 'a' ).addClass( 'btn btn-default' ); $( this ).parent( 'a' ).html( 'À̵¿' ); $( this ).remove(); } // º¹»ç (ºäÆäÀÌÁö) if ( $src.indexOf( 'copy.gif' ) > -1 && $readpage > -1 ) { $( this ).parent( 'a' ).addClass( 'btn btn-default' ); $( this ).parent( 'a' ).html( 'º¹»ç' ); $( this ).remove(); } // ¼öÁ¤ (ºäÆäÀÌÁö) if ( $src.indexOf( 'modify.gif' ) > -1 && $readpage > -1 ) { $( this ).parent( 'a' ).addClass( 'btn btn-default' ); $( this ).parent( 'a' ).html( '¼öÁ¤' ); $( this ).remove(); } // »èÁ¦ (ºäÆäÀÌÁö) if ( $src.indexOf( 'delete.gif' ) > -1 && $readpage > -1 ) { $( this ).parent( 'a' ).addClass( 'btn btn-default' ); $( this ).parent( 'a' ).html( '»èÁ¦' ); $( this ).remove(); } // ´ä±Û (ºäÆäÀÌÁö) if ( $src.indexOf( 'reply.gif' ) > -1 && $readpage > -1 ) { $( this ).parent( 'a' ).addClass( 'btn btn-default' ); $( this ).parent( 'a' ).html( '´ä±Û¾²±â' ); $( this ).remove(); } } ); } // ÀÏ¹Ý ±â´É¹öư replace function btnReplace() { $( "#sub_container .sub_inner img" ).each( function () { var $src = $( this ).attr( 'src' ); // ±Û¾²±â if ( $src.indexOf( 'write.gif' ) > -1 ) { $( this ).parent( 'a' ).addClass( 'btn btn-primary' ); $( this ).parent( 'a' ).html( '±Û¾²±â' ); $( this ).remove(); } // ÀÌÀü if ( $src.indexOf( 'prev.gif' ) > -1 ) { $( this ).parent( 'a' ).addClass( 'btn btn-default' ); $( this ).parent( 'a' ).html( 'ÀÌÀü' ); $( this ).remove(); } // ¸ñ·Ïº¸±â if ( $src.indexOf( 'list.gif' ) > -1 ) { $( this ).parent( 'a' ).addClass( 'btn btn-secondary' ); $( this ).parent( 'a' ).html( '¸ñ·Ï' ); $( this ).remove(); } // ´ÙÀ½ if ( $src.indexOf( 'next.gif' ) > -1 ) { $( this ).parent( 'a' ).addClass( 'btn btn-default right-icon' ); $( this ).parent( 'a' ).html( '´ÙÀ½' ); $( this ).remove(); } // ½ºÆÔ½Å°í if ( $src.indexOf( 'spam.gif' ) > -1 ) { var $opt = $( this ).attr( 'onclick' ); var $link = '½ºÆÔ½Å°í'; $( this ).before( $link ); $( this ).remove(); } // ±Û ÀÛ¼º/¼öÁ¤/´äº¯ Ãë¼Ò if ( $src.indexOf( 'cancel.gif' ) > -1 ) { $( this ).parent( 'a' ).attr( 'href', 'javascript:history.go(-1);' ); $( this ).parent( 'a' ).addClass( 'btn btn-secondary' ); $( this ).parent( 'a' ).html( 'Ãë¼Ò' ); $( this ).remove(); } } ); // °Ë»ö $( "#ext_search input[type=image]" ).before( '' ); $( "#ext_search input[type=image]" ).css( 'display', 'none' ); $( document ).on( 'click', '#ext_search input[type=submit]', function () { $( "#ext_search input[type=image]" ).trigger( 'click' ); } ); // ±Û ÀÛ¼º/¼öÁ¤/´äº¯ $( ".bbsnewf5 input[src*='confirm.gif']" ).before( '' ); $( ".bbsnewf5 input[src*='confirm.gif']" ).css( 'display', 'none' ); $( document ).on( 'click', '.bbsnewf5 .btn-confirm', function () { $( ".bbsnewf5 input[src*='confirm.gif']" ).trigger( 'click' ); } ); } // ȸ¿ø °ü·Ã ¹öư replace function memBtnReplace() { $( "#container .innerContainer img" ).each( function () { var $src = $( this ).attr( 'src' ); // ¾ÆÀ̵ð Áߺ¹È®ÀÎ if ( $src.indexOf( 'btn_iddupl.gif' ) > -1 ) { var $opt = $( this ).parent().attr( 'href' ); var $link = '¾ÆÀ̵ð Áߺ¹È®ÀÎ'; $( this ).parent().before( $link ); $( this ).parent().remove(); } } ); } admBtnReplace(); btnReplace(); memBtnReplace(); } ); // °Ô½ÃÆÇ Ä«Å×°í¸® ÀÚµ¿ »ý¼º $( document ).ready( function () { var cate_link = [], cate_title = [], currentURL = $( location ).attr( 'pathname' ), param = "?&com_board_category_code=", currentParam = "", insertHTML = "", idx = 0; if ( $( "select[name='com_board_category_code']" ).length > 0 ) { currentParam = getUrlParameter( 'com_board_category_code' ); $( "select[name='com_board_category_code'] > option" ).each( function () { cate_link[idx] = $( this ).val(); cate_title[idx] = $( this ).text(); idx++; } ); insertHTML = '