diff --git a/src/main/webapp/WEB-INF/jsp/nlib/cmm/home.jsp b/src/main/webapp/WEB-INF/jsp/nlib/cmm/home.jsp index bf0d333a..72db4600 100644 --- a/src/main/webapp/WEB-INF/jsp/nlib/cmm/home.jsp +++ b/src/main/webapp/WEB-INF/jsp/nlib/cmm/home.jsp @@ -283,7 +283,7 @@ function fn_listPops(typeDivCd) {

온라인 자료관

문화원 전자자료를 온라인으로 간편하게 열람해보세요!

-
더보기 >
+
더보기 더보기 아이콘
@@ -326,7 +326,7 @@ function fn_listPops(typeDivCd) {

커뮤니티 섹션영역

-
공지사항더보기 더보기 아이콘
+
공지사항더보기 더보기 아이콘
@@ -342,7 +342,7 @@ function fn_listPops(typeDivCd) {
- +
diff --git a/src/main/webapp/WEB-INF/jsp/nlib/collection/searchItemDetail.jsp b/src/main/webapp/WEB-INF/jsp/nlib/collection/searchItemDetail.jsp index cca5ec99..7b154c81 100644 --- a/src/main/webapp/WEB-INF/jsp/nlib/collection/searchItemDetail.jsp +++ b/src/main/webapp/WEB-INF/jsp/nlib/collection/searchItemDetail.jsp @@ -390,46 +390,58 @@ function goList(){ \ No newline at end of file + var windowWidth = $(window).width(); + var _slidesPerView = 4; + if (windowWidth < 480) { + _slidesPerView = 1; + } + /* 함께 볼만한자료 슬라이드 */ + var swiper = new Swiper(".DetailSwiper1", { + loop: true, + slidesPerView: _slidesPerView, + spaceBetween: 30, + centeredSlides: false, + autoplay: { + delay: 2500, + disableOnInteraction: false, + }, + navigation: { + nextEl: ".swiper-button-next", + prevEl: ".swiper-button-prev", + }, + /* + pagination: { + el: ".swiper-pagination", + clickable: true, + }, + */ + }); + + var _slidesPerViewBottom = 5; + var _spaceBetween = 30; + if (windowWidth < 480) { + _slidesPerViewBottom = 1.5; + _spaceBetween = 20; + } + /* 유사한 자료 슬라이드 */ + var swiper = new Swiper(".DetailSwiper2", { + loop: true, + slidesPerView: _slidesPerViewBottom, + spaceBetween: _spaceBetween, + centeredSlides: true, + autoplay: { + delay: 1112500, + disableOnInteraction: false, + }, + navigation: { + nextEl: ".swiper-button-next", + prevEl: ".swiper-button-prev", + }, + /* + pagination: { + el: ".swiper-pagination", + clickable: true, + }, + */ + }); + \ No newline at end of file