팝업 24시간 안열리기가 안되요

팝업 24시간 안열리기가 안되요

QA

팝업 24시간 안열리기가 안되요

본문

사정이 있어서 메인을 직접 만들었습니다.

메인의 탑부분은 아래와 같습니다. (그누보드의 css를 사용할수없어서 팝업부분만 가져와서 직접 썼습니다.)

그런데 팝업도 잘 열리고 닫기도 잘 되는데

"24시간 동안 다시 열람하지 않습니다."가 안됩니다.

소스 보시면

common.lib.php 도 있고 common.js도 있어서 쿠키를 제어하는데 문제가 없을줄 알았는데

이게 왜 안되는지 모르겠습니다.

조언을 부탁드립니다.

 

감사합니다.


<?
$g5_path="./";
include_once("$g5_path/common.php");
include_once(G5_LIB_PATH.'/latest.lib.php');
include_once(G5_LIB_PATH.'/common.lib.php');
?>    

<script src="/js/jquery-1.12.4.min.js?ver=210618"></script>
<script src="/js/jquery-migrate-1.4.1.min.js?ver=210618"></script>
<script src="/js/jquery.menu.js?ver=210618"></script>
<script src="/js/common.js?ver=210618"></script>
<script src="/js/wrest.js?ver=210618"></script>
<script src="/js/placeholders.min.js?ver=210618"></script>

<style>
/* 팝업레이어 */
#hd_pop {z-index:1000;position:relative;margin:0 auto;height:0}
#hd_pop h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
.hd_pops {position:absolute;border:1px solid #e9e9e9;background:#fff}
.hd_pops img {max-width:100%}
.hd_pops_con {}
.hd_pops_footer {padding:0;background:#000;color:#fff;text-align:left;position:relative}
.hd_pops_footer:after {display:block;visibility:hidden;clear:both;content:""}
.hd_pops_footer button {padding:10px;border:0;color:#fff}
.hd_pops_footer .hd_pops_reject {background:#000;text-align:left}
.hd_pops_footer .hd_pops_close {background:#393939;position:absolute;top:0px;right:0;padding-bottom:7px}
@media screen and (max-width: 992px) {
/* 팝업레이어 */
#hd_pop {z-index:1000;position:relative;margin:0 auto;width:100%;height:0}
#hd_pop h2 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
.hd_pops {position:absolute;border:1px solid #e9e9e9;background:#fff}
.hd_pops img {max-width:100%;height:auto}
.hd_pops_con {}
.hd_pops_footer {padding:10px 0;background:#000;color:#fff;text-align:right}
.hd_pops_footer button {margin-right:5px;padding:5px 10px;border:0;background:#393939;color:#fff}
}
</style>
<?include_once(G5_BBS_PATH.'/newwin.inc.php');?>

이 질문에 댓글 쓰기 :

답변 2


...
<script src="/js/wrest.js?ver=210618"></script>
<script src="/js/placeholders.min.js?ver=210618"></script>
 
<script>
var g5_cookie_domain = "<?php echo G5_COOKIE_DOMAIN ?>";
</script>
 
<style>
/* 팝업레이어 */
#hd_pop {z-index:1000;position:relative;margin:0 auto;height:0}
...
답변을 작성하시기 전에 로그인 해주세요.
전체 1
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT