팝업노출 날짜 수정

This commit is contained in:
wyh 2024-11-22 18:37:35 +09:00
parent c2b6637c79
commit 3a4ca45828

View File

@ -38,18 +38,31 @@ $(document).ready(function() {
}
// 2단팝업 제거
var agreePrivateSDate = "2024-11-29";
var agreePrivateNow = new Date();
agreePrivateNow = leadingZeros(agreePrivateNow.getFullYear(), 4) + '-' + leadingZeros(agreePrivateNow.getMonth() + 1, 2) + '-' + leadingZeros(agreePrivateNow.getDate(), 2);
if (agreePrivateNow < agreePrivateSDate) {
$("#agreePrivatePop_20241129").show();
}else{
$("#agreePrivatePop_20241129").hide();
}
//개인정보처리방침 팝업 날짜 설정
var agreePrivateSDate = "2024-11-23";
var agreePrivateNow = new Date();
agreePrivateNow = leadingZeros(agreePrivateNow.getFullYear(), 4) + '-' + leadingZeros(agreePrivateNow.getMonth() + 1, 2) + '-' + leadingZeros(agreePrivateNow.getDate(), 2);
if (agreePrivateNow < agreePrivateSDate) {
$("#agreePrivatePop_20241119").show();
$("#agreePrivatePop_20241106").hide();
$("#agreePrivatePop_20241121").show();
$("#agreePrivatePop_20241122").hide();
}else{
$("#agreePrivatePop_20241119").hide();
$("#agreePrivatePop_20241106").show();
$("#agreePrivatePop_20241121").hide();
$("#agreePrivatePop_20241122").show();
}
//메인 팝업 호출 여부
var evntPopCk = fnGetCookie('layer_evntPayPop');
var pointPopCk = fnGetCookie('layer_pointPop');
@ -1225,7 +1238,7 @@ function fn_click_banner_add_stat(bannerMenuCode){
</div>
<!-- 20241105 이용약관 팝업 -->
<div class="layer_popup agreePrivatePop" id="agreePrivatePop_20241106">
<div class="layer_popup agreePrivatePop" id="agreePrivatePop_20241106" style="display: none;">
<div class="layer_popup_cont">
<img src="/publish/images/main/popup04_241105.jpg" alt="이용약관 개정 안내 변함없는 문자온 서비스 이용에 감사의 말씀 드립니다. 당사 이용약관이 개정되오니 서비스 이용에 참고하시기 바랍니다. 이용약관 공지사항 항상 최선의 서비스를 제공할 수 있도록 노력하겠습니다. 감사합니다." usemap="#popup-use-map">
<map name="popup-use-map">
@ -1239,12 +1252,12 @@ function fn_click_banner_add_stat(bannerMenuCode){
</div>
<!-- 세로가 짧은 팝업 2개일때 -->
<div class="popup_range" id="agreePrivatePop_20241119">
<div class="popup_range" id="agreePrivatePop_20241129">
<!-- 20241119 보안강화 인증 수단 도입 안내 팝업 -->
<div class="layer_popup agreePrivatePop" style="margin: 0 0 20px 30px;">
<div class="layer_popup agreePrivatePop" style="margin: 0 0 20px 30px;" id="agreePrivatePop_20241121">
<div class="layer_popup_cont">
<img src="/publish/images/main/popup06_241119.jpg" alt="보안강화 인증수단 도입 안내 2024년11월 17일자로 보안강화를 위해 서비스 로그인시 휴대폰 본인인증 기능을 도입하였으니 서비스 이용에 참고하시기 바랍니다." usemap="#popup-user-map" style="height:220px; width:413px;">
<map name="popup-user-map">
<img src="/publish/images/main/popup06_241119.jpg" alt="보안강화 인증수단 도입 안내 2024년11월 17일자로 보안강화를 위해 서비스 로그인시 휴대폰 본인인증 기능을 도입하였으니 서비스 이용에 참고하시기 바랍니다." usemap="#popup-user-map1" style="height:220px; width:413px;">
<map name="popup-user-map1">
<area href="https://www.munjaon.co.kr/web/cop/bbs/NoticeDetail.do?bbsId=BBSMSTR_000000000723&nttId=720" coords="65,148,345,182" shape="rect">
</map>
</div>
@ -1253,11 +1266,12 @@ function fn_click_banner_add_stat(bannerMenuCode){
<button type="button" class="popup_close agreePrivatePopClose"><img src="/publish/images/main/btn_popup_close01.png" alt="팝업닫기"></button>
</div>
</div>
<!-- 20241122 보안강화 인증 수단 도입 안내 팝업 -->
<div class="layer_popup agreePrivatePop" style="margin: 0 0 20px 30px;">
<div class="layer_popup agreePrivatePop" style="margin: 0 0 20px 30px;" id="agreePrivatePop_20241122">
<div class="layer_popup_cont">
<img src="/publish/images/main/popup06_241122.jpg" alt="보안로그인 서비스 안내 계정 보안 강화를 위해 도입한 기존 보안로그인 서비스를 2024년 11월 22일자로 개선 및 추가하오니 이용에 참고하시기 바랍니다." usemap="#popup-user-map" style="height:220px; width:413px;">
<map name="popup-user-map">
<img src="/publish/images/main/popup06_241122.jpg" alt="보안로그인 서비스 안내 계정 보안 강화를 위해 도입한 기존 보안로그인 서비스를 2024년 11월 22일자로 개선 및 추가하오니 이용에 참고하시기 바랍니다." usemap="#popup-user-map2" style="height:220px; width:413px;">
<map name="popup-user-map2">
<area href="https://www.munjaon.co.kr/web/cop/bbs/NoticeDetail.do?bbsId=BBSMSTR_000000000723&nttId=726&seCmmnCdId=&frstRegisterId=&viewsYn=&menuNo=&searchBgnDe=&searchEndDe=&pageIndex=1&searchSortCnd=&searchSortOrd=&searchCnd=&searchWrd=&pageUnit=10" coords="65,148,345,182" shape="rect">
</map>
</div>