From 85a4f012c5705f34691864233e7b4afffec7125a Mon Sep 17 00:00:00 2001 From: com02 Date: Wed, 17 Nov 2021 13:48:28 +0900 Subject: [PATCH] =?UTF-8?q?=EC=86=8C=EC=9E=A5=EC=9E=90=EB=A3=8C=EA=B4=80?= =?UTF-8?q?=20=EB=AA=A8=EB=B0=94=EC=9D=BC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/META-INF/MANIFEST.MF | 8 +- .../META-INF/maven/nlib/nlib/pom.properties | 7 + .../webapp/META-INF/maven/nlib/nlib/pom.xml | 543 ++++++++++ .../WEB-INF/jsp/nlib/cmm/headerSubPart.jsp | 2 +- src/main/webapp/WEB-INF/jsp/nlib/cmm/home.jsp | 158 +-- .../search/getDetailedSearchFormPopup.jsp | 74 +- src/main/webapp/WEB-INF/tiles/inc/menu.jsp | 75 +- .../webapp/WEB-INF/tiles/tiles-layout.jsp | 4 +- src/main/webapp/css/common.css | 2 +- src/main/webapp/css/default.css | 118 +-- src/main/webapp/css/media.css | 992 ++++++++++++++++++ src/main/webapp/images/bg/bg-privacy-mo.jpg | Bin 0 -> 92563 bytes src/main/webapp/images/bg/bg-sec4-bg-mo.jpg | Bin 0 -> 5144 bytes src/main/webapp/images/bg/bg-service-mo.jpg | Bin 0 -> 72391 bytes src/main/webapp/images/icon/icon-alram.png | Bin 0 -> 346 bytes .../images/icon/icon-data-search-white.png | Bin 0 -> 424 bytes .../webapp/images/icon/icon-member-mo.png | Bin 0 -> 461 bytes src/main/webapp/images/icon/icon-mo-hide.png | Bin 0 -> 233 bytes src/main/webapp/images/icon/icon-mo-show.png | Bin 0 -> 277 bytes src/main/webapp/images/icon/icon-myinfo.png | Bin 0 -> 567 bytes .../webapp/images/icon/icon-question-plus.png | Bin 0 -> 192 bytes .../webapp/images/icon/icon-search-mo.png | Bin 0 -> 596 bytes src/main/webapp/join-2.html | 4 +- src/main/webapp/js/default.js | 510 +++++---- src/main/webapp/myinfo-modify.html | 4 +- 25 files changed, 2106 insertions(+), 395 deletions(-) create mode 100644 src/main/webapp/META-INF/maven/nlib/nlib/pom.properties create mode 100644 src/main/webapp/META-INF/maven/nlib/nlib/pom.xml create mode 100644 src/main/webapp/css/media.css create mode 100644 src/main/webapp/images/bg/bg-privacy-mo.jpg create mode 100644 src/main/webapp/images/bg/bg-sec4-bg-mo.jpg create mode 100644 src/main/webapp/images/bg/bg-service-mo.jpg create mode 100644 src/main/webapp/images/icon/icon-alram.png create mode 100644 src/main/webapp/images/icon/icon-data-search-white.png create mode 100644 src/main/webapp/images/icon/icon-member-mo.png create mode 100644 src/main/webapp/images/icon/icon-mo-hide.png create mode 100644 src/main/webapp/images/icon/icon-mo-show.png create mode 100644 src/main/webapp/images/icon/icon-myinfo.png create mode 100644 src/main/webapp/images/icon/icon-question-plus.png create mode 100644 src/main/webapp/images/icon/icon-search-mo.png diff --git a/src/main/webapp/META-INF/MANIFEST.MF b/src/main/webapp/META-INF/MANIFEST.MF index 254272e1..813d708a 100644 --- a/src/main/webapp/META-INF/MANIFEST.MF +++ b/src/main/webapp/META-INF/MANIFEST.MF @@ -1,3 +1,5 @@ -Manifest-Version: 1.0 -Class-Path: - +Manifest-Version: 1.0 +Built-By: com02 +Build-Jdk: 1.8.0_201 +Created-By: Maven Integration for Eclipse + diff --git a/src/main/webapp/META-INF/maven/nlib/nlib/pom.properties b/src/main/webapp/META-INF/maven/nlib/nlib/pom.properties new file mode 100644 index 00000000..44b3ac73 --- /dev/null +++ b/src/main/webapp/META-INF/maven/nlib/nlib/pom.properties @@ -0,0 +1,7 @@ +#Generated by Maven Integration for Eclipse +#Tue Nov 16 11:00:09 KST 2021 +version=1.0.0 +groupId=nlib +m2e.projectName=iams.nlib +m2e.projectLocation=D\:\\iams\\workspace\\iams.nlib +artifactId=nlib diff --git a/src/main/webapp/META-INF/maven/nlib/nlib/pom.xml b/src/main/webapp/META-INF/maven/nlib/nlib/pom.xml new file mode 100644 index 00000000..b5a11092 --- /dev/null +++ b/src/main/webapp/META-INF/maven/nlib/nlib/pom.xml @@ -0,0 +1,543 @@ + + + 4.0.0 + nlib + nlib + war + 1.0.0 + nlib + http://www.egovframe.go.kr + + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + 4.3.16.RELEASE + 3.8.0 + 4.2.5.RELEASE + 1.7.2 + 2.11.0 + + + + + mvn2 + http://repo1.maven.org/maven2/ + + true + + + true + + + + egovframe + http://www.egovframe.go.kr/maven/ + + true + + + false + + + + egovframe2 + http://maven.egovframe.kr:8080/maven/ + + true + + + false + + + + + + + + egovframework.rte + egovframework.rte.ptl.mvc + ${egovframework.rte.version} + + + commons-logging + commons-logging + + + + + egovframework.rte + egovframework.rte.psl.dataaccess + ${egovframework.rte.version} + + + egovframework.rte + egovframework.rte.fdl.idgnr + ${egovframework.rte.version} + + + egovframework.rte + egovframework.rte.fdl.property + ${egovframework.rte.version} + + + egovframework.rte + egovframework.rte.fdl.security + ${egovframework.rte.version} + + + + javax.servlet + servlet-api + provided + 2.5 + + + + javax.servlet + jstl + 1.2 + + + + taglibs + standard + 1.1.2 + + + + org.antlr + antlr + 3.5 + + + + commons-codec + commons-codec + 1.9 + + + + egovframework.rte + egovframework.rte.fdl.crypto + ${egovframework.rte.version} + + + + org.apache.poi + poi + 5.0.0 + + + org.apache.poi + poi-ooxml + 3.9 + + + commons-httpclient + commons-httpclient + 3.1 + + + + org.springframework + spring-core + ${spring.maven.artifact.version} + + + + org.springframework + spring-expression + ${spring.maven.artifact.version} + + + + + org.slf4j + slf4j-api + ${slf4j.version} + + + org.slf4j + jcl-over-slf4j + ${slf4j.version} + runtime + + + org.slf4j + slf4j-log4j12 + ${slf4j.version} + runtime + + + org.apache.logging.log4j + log4j-core + ${log4j.version} + + + + + commons-fileupload + commons-fileupload + 1.3.1 + + + + + + + org.springframework.webflow + spring-faces + 2.4.1.RELEASE + + + org.springframework.security + spring-security-web + ${spring-security.version} + + + org.springframework.security + spring-security-core + ${spring-security.version} + + + org.springframework.security + spring-security-config + ${spring-security.version} + + + org.springframework.security + spring-security-taglibs + ${spring-security.version} + + + + + com.ibm.icu + icu4j + 53.1 + + + + + + + com.googlecode.json-simple + json-simple + 1.1.1 + + + + org.apache.httpcomponents + httpcore + 4.4.6 + + + org.apache.httpcomponents + httpclient + 4.5.3 + + + + com.google.zxing + core + 3.3.0 + + + com.google.zxing + javase + 3.3.0 + + + + + org.apache.tiles + tiles-extras + 3.0.8 + + + org.apache.tiles + tiles-servlet + 3.0.8 + + + org.apache.tiles + tiles-jsp + 3.0.8 + + + + + com.fasterxml.jackson.core + jackson-core + 2.12.1 + + + com.fasterxml.jackson.core + jackson-annotations + 2.12.1 + + + com.fasterxml.jackson.core + jackson-databind + 2.12.1 + + + + + com.fasterxml.jackson.dataformat + jackson-dataformat-xml + 2.12.1 + + + + + org.springframework + spring-jdbc + ${spring.maven.artifact.version} + + + org.mariadb.jdbc + mariadb-java-client + 2.2.5 + + + commons-dbcp + commons-dbcp + 1.4 + + + org.lazyluke + log4jdbc-remix + 0.2.7 + + + org.projectlombok + lombok + 1.18.20 + provided + + + + + com.google.code.gson + gson + 2.8.7 + + + org.json + json + 20201115 + + + + + com.github.scribejava + scribejava-apis + + 8.3.1 + + + + + com.github.scribejava + scribejava-core + 8.3.1 + + + + org.springframework.social + spring-social-core + 1.1.4.RELEASE + + + org.springframework.social + spring-social-web + 1.1.4.RELEASE + + + org.apache.commons + commons-lang3 + 3.3.2 + + + + + + install + ${basedir}/target + ${artifactId}-${version} + + + + org.apache.tomcat.maven + tomcat7-maven-plugin + 2.2 + + 80 + / + + -Xms256m -Xmx768m -XX:MaxPermSize=256m + + + + + org.apache.maven.plugins + maven-compiler-plugin + + 1.8 + 1.8 + UTF-8 + + + + org.codehaus.mojo + hibernate3-maven-plugin + 2.1 + + + + hbm2ddl + annotationconfiguration + + + + + + org.hsqldb + hsqldb + 2.3.2 + + + + + + org.codehaus.mojo + emma-maven-plugin + 1.0-alpha-3 + + + + org.apache.maven.plugins + maven-pmd-plugin + 3.1 + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + true + once + xml + + **/Abstract*.java + **/*Suite.java + + + **/*Test.java + + + + + org.codehaus.mojo + emma-maven-plugin + true + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.9.1 + + + + + ${basedir}/target/site + + + org.apache.maven.plugins + maven-project-info-reports-plugin + 2.7 + + + sunlink + + javadoc + + true + + + http://docs.oracle.com/javase/6/docs/api/ + + + + + + + + org.codehaus.mojo + emma-maven-plugin + true + + + org.codehaus.mojo + surefire-report-maven-plugin + true + + + + report-only + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + + 128m + 512m + ${encoding} + ${encoding} + ${encoding} + + + + + org.apache.maven.plugins + maven-jxr-plugin + + ${encoding} + ${encoding} + true + apidocs + + + + + diff --git a/src/main/webapp/WEB-INF/jsp/nlib/cmm/headerSubPart.jsp b/src/main/webapp/WEB-INF/jsp/nlib/cmm/headerSubPart.jsp index f96ec1db..11afcae4 100644 --- a/src/main/webapp/WEB-INF/jsp/nlib/cmm/headerSubPart.jsp +++ b/src/main/webapp/WEB-INF/jsp/nlib/cmm/headerSubPart.jsp @@ -47,7 +47,7 @@ function fn_getMemberCard() { - +
+ +

※ 수신동의를 하시면 ‘자료반납’, ‘자료연체’, ‘예약자료 도착’, ‘열람신청 승인’, ‘열람신청 반려’ 등 자료이용 관련 알림을 받으실 수 있습니다.

diff --git a/src/main/webapp/js/default.js b/src/main/webapp/js/default.js index d30e3766..11688d41 100644 --- a/src/main/webapp/js/default.js +++ b/src/main/webapp/js/default.js @@ -185,211 +185,252 @@ $(document).ready(function(){ $('.pop-change').fadeOut(); }); - /* 메인 메뉴 반응형 */ - jQuery(function($) { - $.fn.responsivenav = function(args) { - // Default settings - var defaults = { - responsive: true, - width: 768, // Responsive width - button: $(this).attr('id')+'-button', // Menu button id - animation: { // Menu animation - effect: 'slide', // Accepts 'slide' or 'fade' - show: 150, - hide: 100 - }, - selected: 'selected', // Selected class - arrow: 'downarrow' // Dropdown arrow class - }; - var settings = $.extend(defaults, args); - // Initialize the menu and the button - init($(this).attr('id'), settings.button); + /* 메인 메뉴 반응형 */ + jQuery(function ($) { + $.fn.responsivenav = function (args) { + // Default settings + var defaults = { + responsive: true, + width: 768, // Responsive width + button: $(this).attr("id") + "-button", // Menu button id + animation: { + // Menu animation + effect: "slide", // Accepts 'slide' or 'fade' + show: 150, + hide: 100, + }, + selected: "selected", // Selected class + arrow: "downarrow", // Dropdown arrow class + }; + var settings = $.extend(defaults, args); + // Initialize the menu and the button + init($(this).attr("id"), settings.button); - function init(menuid, buttonid) { - setupMenu(menuid, buttonid); - // Add a handler function for the resize and orientationchange event - $(window).bind('resize orientationchange', function(){ resizeMenu(menuid, buttonid); }); - // Trigger initial resize - resizeMenu(menuid, buttonid); - } + function init(menuid, buttonid) { + setupMenu(menuid, buttonid); + // Add a handler function for the resize and orientationchange event + $(window).bind("resize orientationchange", function () { + resizeMenu(menuid, buttonid); + }); + // Trigger initial resize + resizeMenu(menuid, buttonid); + } - function setupMenu(menuid, buttonid) { - var $mainmenu = $('#'+menuid+'>ul'); - var $headers = $mainmenu.find("ul").parent(); - // Add dropdown arrows - $headers.each(function(i) { - var $curobj = $(this); - $curobj.children('a:eq(0)').append(''); - }); + function setupMenu(menuid, buttonid) { + var $mainmenu = $("#" + menuid + ">ul"); + var $headers = $mainmenu.find("ul").parent(); + // Add dropdown arrows + $headers.each(function (i) { + var $curobj = $(this); + $curobj.children("a:eq(0)").append(''); + }); - if ( settings.responsive ) { - // Menu button click event - // Displays top-level menu items - $('#'+buttonid).click(function(e) { - e.preventDefault(); + if (settings.responsive) { + // Menu button click event + // Displays top-level menu items + $("#" + buttonid).click(function (e) { + e.preventDefault(); - if ( isSelected($('#'+buttonid)) ) { - // Close menu - collapseChildren('#'+menuid); - animateHide($('#'+menuid), $('#'+buttonid)); - } else { - // Open menu - animateShow($('#'+menuid), $('#'+buttonid)); - } - }); - } - } - - function resizeMenu(menuid, buttonid) { - var $ww = document.body.clientWidth; - // Add mobile class to elements for CSS use - // instead of relying on media-query support - if ( $ww > settings.width || !settings.responsive) { - $('#'+menuid).removeClass('mobile'); - $('#'+buttonid).removeClass('mobile'); - } else { - $('#'+menuid).addClass('mobile'); - $('#'+buttonid).addClass('mobile'); - } - - var $headers = $('#'+menuid+'>ul').find('ul').parent(); - - $headers.each(function(i) { - var $curobj = $(this); - var $link = $curobj.children('a:eq(0)'); - var $subul = $curobj.find('ul:eq(0)'); - - // Unbind events - $curobj.unbind('mouseenter mouseleave'); - $link.unbind('click'); - animateHide($curobj.children('ul:eq(0)')); - - if ( $ww > settings.width || !settings.responsive ) { - // Full menu - $curobj.hover(function(e) { - var $targetul = $(this).children('ul:eq(0)'); - - var $dims = { w: this.offsetWidth, - h: this.offsetHeight, - subulw: $subul.outerWidth(), - subulh: $subul.outerHeight() - }; - var $istopheader = $curobj.parents('ul').length == 1 ? true : false; - $subul.css($istopheader ? {} : { top: 0 }); - var $offsets = { left: $(this).offset().left, - top: $(this).offset().top - }; - var $menuleft = $istopheader ? 0 : $dims.w; - $menuleft = ( $offsets.left + $menuleft + $dims.subulw > $(window).width() ) ? ( $istopheader ? -$dims.subulw + $dims.w : -$dims.w ) : $menuleft; - $targetul.css({ left:$menuleft+'px', - width:$dims.subulw+'px' - }); - - animateShow($targetul); - }, - function(e) { - var $targetul = $(this).children('ul:eq(0)'); - animateHide($targetul); - }); - } else { - // Compact menu - $link.click(function(e) { - e.preventDefault(); - - var $targetul = $curobj.children('ul:eq(0)'); - if ( isSelected($curobj) ) { - collapseChildren($targetul); - animateHide($targetul); - } else { - //collapseSiblings($curobj); - animateShow($targetul); + if (isSelected($("#" + buttonid))) { + // Close menu + collapseChildren("#" + menuid); + animateHide($("#" + menuid), $("#" + buttonid)); + } else { + // Open menu + animateShow($("#" + menuid), $("#" + buttonid)); + } + }); } - }); } - }); - collapseChildren('#'+menuid); + function resizeMenu(menuid, buttonid) { + var $ww = document.body.clientWidth; + // Add mobile class to elements for CSS use + // instead of relying on media-query support + if ($ww > settings.width || !settings.responsive) { + $("#" + menuid).removeClass("mobile"); + $("#" + buttonid).removeClass("mobile"); + } else { + $("#" + menuid).addClass("mobile"); + $("#" + buttonid).addClass("mobile"); + } - if ( settings.responsive && isSelected($('#'+buttonid)) ) { - //collapseChildren('#'+menuid); - $('#'+menuid).hide(); - $('#'+menuid).removeAttr('style'); - $('#'+buttonid).removeClass(settings.selected); - } - } + var $headers = $("#" + menuid + ">ul") + .find("ul") + .parent(); - function collapseChildren(elementid) { - // Closes all submenus of the specified element - var $headers = $(elementid).find('ul'); - $headers.each(function(i) { - if ( isSelected($(this).parent()) ) { - animateHide($(this)); + $headers.each(function (i) { + var $curobj = $(this); + var $link = $curobj.children("a:eq(0)"); + var $subul = $curobj.find("ul:eq(0)"); + + // Unbind events + $curobj.unbind("mouseenter mouseleave"); + $link.unbind("click"); + animateHide($curobj.children("ul:eq(0)")); + + if ($ww > settings.width || !settings.responsive) { + // Full menu + $curobj.hover( + function (e) { + var $targetul = $(this).children("ul:eq(0)"); + + var $dims = { w: this.offsetWidth, h: this.offsetHeight, subulw: $subul.outerWidth(), subulh: $subul.outerHeight() }; + var $istopheader = $curobj.parents("ul").length == 1 ? true : false; + $subul.css($istopheader ? {} : { top: 0 }); + var $offsets = { left: $(this).offset().left, top: $(this).offset().top }; + var $menuleft = $istopheader ? 0 : $dims.w; + $menuleft = $offsets.left + $menuleft + $dims.subulw > $(window).width() ? ($istopheader ? -$dims.subulw + $dims.w : -$dims.w) : $menuleft; + $targetul.css({ left: $menuleft + "px", width: $dims.subulw + "px" }); + + animateShow($targetul); + }, + function (e) { + var $targetul = $(this).children("ul:eq(0)"); + animateHide($targetul); + } + ); + } else { + // Compact menu + $link.click(function (e) { + e.preventDefault(); + + var $targetul = $curobj.children("ul:eq(0)"); + if (isSelected($curobj)) { + collapseChildren($targetul); + animateHide($targetul); + } else { + //collapseSiblings($curobj); + animateShow($targetul); + } + }); + } + }); + + collapseChildren("#" + menuid); + + if (settings.responsive && isSelected($("#" + buttonid))) { + //collapseChildren('#'+menuid); + $("#" + menuid).hide(); + $("#" + menuid).removeAttr("style"); + $("#" + buttonid).removeClass(settings.selected); + } } - }); - } - function collapseSiblings(element) { - var $siblings = element.siblings('li'); - $siblings.each(function(i) { - collapseChildren($(this)); - }); - } + function collapseChildren(elementid) { + // Closes all submenus of the specified element + var $headers = $(elementid).find("ul"); + $headers.each(function (i) { + if (isSelected($(this).parent())) { + animateHide($(this)); + } + }); + } - function isSelected(element) { - return element.hasClass(settings.selected); - } + function collapseSiblings(element) { + var $siblings = element.siblings("li"); + $siblings.each(function (i) { + collapseChildren($(this)); + }); + } - function animateShow(menu, button) { - if ( !button ) { var button = menu.parent(); } + function isSelected(element) { + return element.hasClass(settings.selected); + } - button.addClass(settings.selected); + function animateShow(menu, button) { + if (!button) { + var button = menu.parent(); + } - if ( settings.animation.effect == 'fade' ) { - menu.fadeIn(settings.animation.show); - $(".BG").fadeIn("fast"); - } else if ( settings.animation.effect == 'slide' ) { - menu.slideDown(settings.animation.show); - $(".BG").fadeIn("fast"); - } else { - menu.show(); - menu.removeClass('hide'); - } - } + button.addClass(settings.selected); - function animateHide(menu, button) { - if ( !button ) { var button = menu.parent(); } + if (settings.animation.effect == "fade") { + menu.fadeIn(settings.animation.show); + $(".BG").fadeIn("fast"); + } else if (settings.animation.effect == "slide") { + menu.slideDown(settings.animation.show); + $(".BG").fadeIn("fast"); + } else { + menu.show(); + menu.removeClass("hide"); + } + } - if ( settings.animation.effect == 'fade' ) { - menu.fadeOut(settings.animation.hide, function() { - menu.removeAttr('style'); - button.removeClass(settings.selected); + function animateHide(menu, button) { + if (!button) { + var button = menu.parent(); + } + + if (settings.animation.effect == "fade") { + menu.fadeOut(settings.animation.hide, function () { + menu.removeAttr("style"); + button.removeClass(settings.selected); + $(".BG").fadeOut("fast"); + }); + } else if (settings.animation.effect == "slide") { + menu.slideUp(settings.animation.hide, function () { + menu.removeAttr("style"); + button.removeClass(settings.selected); + $(".BG").fadeOut("fast"); + }); + } else { + menu.hide(); + menu.addClass("hide"); + menu.removeAttr("style"); + button.removeClass(settings.selected); + } + } + $(".BG").click(function () { $(".BG").fadeOut("fast"); + $("#primary-nav.mobile").hide(); + $("#primary-nav-button").removeClass("selected"); }); - } else if ( settings.animation.effect == 'slide' ) { - menu.slideUp(settings.animation.hide, function() { - menu.removeAttr('style'); - button.removeClass(settings.selected); - $(".BG").fadeOut("fast"); - }); - } else { - menu.hide(); - menu.addClass('hide'); - menu.removeAttr('style'); - button.removeClass(settings.selected); - } - } - $(".BG").click(function(){ - $(".BG").fadeOut("fast"); - $("#primary-nav.mobile").hide(); - $("#primary-nav-button").removeClass("selected"); - }); - }; + }; }); jQuery(function ($) { - $('#primary-nav').responsivenav(); - $('#top-nav').responsivenav({responsive:false}); - }); + $("#primary-nav").responsivenav(); + $("#top-nav").responsivenav({ responsive: false }); + + // 모바일 + $(".mo_menu").click(function () { + // $(this).toggleClass("show"); + if ($(this).hasClass("show")) { + $(this).removeClass("show"); + } else { + $(".mo_menu").removeClass("show"); + $(this).addClass("show"); + } + }); + + $("#primary-nav-button").on("click", function () { + $(".mo-nav-wrap").toggleClass("show"); + $(".wrap .nav-wrap .inner").toggleClass("mo_show"); + $(".wrap .nav-wrap .inner .left").fadeToggle(); + $("#mo_search_icon").fadeToggle(); + }); + + $("#mo_search_icon").click(function () { + $(".wrap header .inner .search-wrap").slideDown(); + $(".wrap .nav-wrap").css("display", "none"); + }); + + $("h2.blind .search-close").click(function () { + $(".wrap header .inner .search-wrap").slideUp(); + $(".wrap .nav-wrap").css("display", "block"); + }); + + $(".btn_filter").on("click", function () { + $(".article-side").fadeIn(); + $("html,body").addClass("no-scroll"); + }); + + $(".filter-close").click(function () { + $(".article-side").fadeOut(); + $("html,body").removeClass("no-scroll"); + }); + }); /* 메인 메뉴 반응형 end */ }); @@ -450,58 +491,63 @@ $(document).ready(function() { }); // 하위 리스트 보기 - $('.filter-wrap .depth-1 .check input').each(function () { - var tabLabel = $(this).next().text(); - if($(this).parents('.depth-1').siblings('.depth-2').length > 0) { //하위 조건이 있을 경우만 버튼 생성 - $(this).parent('.check').append(''); - } + $(".filter-wrap .depth-1 .check input").each(function () { + var tabLabel = $(this).next().text(); + if ($(this).parents(".depth-1").siblings(".depth-2").length > 0) { + //하위 조건이 있을 경우만 버튼 생성 + $(this) + .parent(".check") + .append('"); + } - $(this).siblings('.tab-name').on('click', function () { - var _this = $(this).parents('li').index(); + $(this) + .siblings(".tab-name") + .on("click", function () { + var _this = $(this).parents("li").index(); - $(this).parents('li').siblings('li').find('.depth-1').removeClass('on'); - if (!$('body').hasClass('pop-filter')) { - if ($(this).parents('.depth-1').hasClass('on')) { - $(this).parents('.depth-1').removeClass('on'); - } else { - $(this).parents('.depth-1').addClass('on'); - } - } else { - $(this).parents('.depth-1').addClass('on'); - } - - // 줄구분용 data 추가 - $(".pop-culture-center .line-1").data("idx", "1"); - $(".pop-culture-center .line-2").data("idx", "2"); - $(".pop-culture-center .line-3").data("idx", "3"); + $(this).parents("li").siblings("li").find(".depth-1").removeClass("on"); + if (!$("body").hasClass("pop-filter")) { + if ($(this).parents(".depth-1").hasClass("on")) { + $(this).parents(".depth-1").removeClass("on"); + } else { + $(this).parents(".depth-1").addClass("on"); + } + } else { + $(this).parents(".depth-1").addClass("on"); + } - target = $(".pop-filter li.line-" + $(this).parents("li").data("idx") + ""); - size = $(this).parents("div.depth-1").next().outerHeight() + 50 ; - $(".line-1 , .line-2, .line-3").attr("style" , ''); - target.css("height" , size ); - - }); + // 줄구분용 data 추가 + $(".pop-culture-center .line-1").data("idx", "1"); + $(".pop-culture-center .line-2").data("idx", "2"); + $(".pop-culture-center .line-3").data("idx", "3"); - $(this).change( function () { - var _this = $(this).parents('li').index(); - if ($(this).is(":checked")) { - $(this).parents('.depth-1').next().stop().slideDown(0); - $(this).parents('.depth-1').addClass('on'); - $(this).parents('li').siblings('li').find('.depth-1').children('.btn-toggle').text('열기'); - $(this).parents('li').find('.depth-1').children('.btn-toggle').text('닫기'); - $(this).parents('li').siblings('li').find('.depth-1').next().stop().slideUp(0); - $(this).parents('li').siblings('li').find('.depth-1').removeClass('on'); - } - }); - }); + target = $(".pop-filter li.line-" + $(this).parents("li").data("idx") + ""); + size = $(this).parents("div.depth-1").next().outerHeight() + 50; + $(".line-1 , .line-2, .line-3").attr("style", ""); + // 여기 + target.css("height", size); + }); - $('.filter-wrap .depth-2 input').change(function () { - if ($(this).is(':checked')) { - $(this).parents('.depth-2').siblings('.depth-1').find('input').prop('checked', true); - } else { - if ($(this).parents('.depth-2').find('input:checked').length <= 0) { - $(this).parents('.depth-2').siblings('.depth-1').find('input').prop('checked', false); - } - } - }); + $(this).change(function () { + var _this = $(this).parents("li").index(); + if ($(this).is(":checked")) { + $(this).parents(".depth-1").next().stop().slideDown(0); + $(this).parents(".depth-1").addClass("on"); + $(this).parents("li").siblings("li").find(".depth-1").children(".btn-toggle").text("열기"); + $(this).parents("li").find(".depth-1").children(".btn-toggle").text("닫기"); + $(this).parents("li").siblings("li").find(".depth-1").next().stop().slideUp(0); + $(this).parents("li").siblings("li").find(".depth-1").removeClass("on"); + } + }); + }); + + $(".filter-wrap .depth-2 input").change(function () { + if ($(this).is(":checked")) { + $(this).parents(".depth-2").siblings(".depth-1").find("input").prop("checked", true); + } else { + if ($(this).parents(".depth-2").find("input:checked").length <= 0) { + $(this).parents(".depth-2").siblings(".depth-1").find("input").prop("checked", false); + } + } + }); }); \ No newline at end of file diff --git a/src/main/webapp/myinfo-modify.html b/src/main/webapp/myinfo-modify.html index 3d285a92..0f4ba1ee 100644 --- a/src/main/webapp/myinfo-modify.html +++ b/src/main/webapp/myinfo-modify.html @@ -223,11 +223,13 @@
+ +

※ 수신동의를 하시면 ‘자료반납’, ‘자료연체’, ‘예약자료 도착’, ‘열람신청 승인’, ‘열람신청 반려’ 등 자료이용 관련 알림을 받으실 수 있습니다.