멀티팝업 재질문
본문
해당멀티팝업 적용할려고하니 root 에 그대로 넣었는데 변화가 없네요
기존 팝업창뜨는것처럼뜨는데 뭐때문인가요? ㅠ 혹시 버전문제로 적용안될수도있나요?
영카트사용중입니다.
추가 + 주석처리부분 확인하라는데
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if (!defined('_SHOP_')) {
$pop_division = 'comm';
} else {
$pop_division = 'shop';
}
$sql = " select * from {$g5['new_win_table']}
where '".G5_TIME_YMDHIS."' between nw_begin_time and nw_end_time
and nw_device IN ( 'both', 'pc' ) and nw_division IN ( 'both', '".$pop_division."' )
order by nw_id asc ";
$result = sql_query($sql, false);
$sql2 = " select * from {$g5['new_win_table']}
where '".G5_TIME_YMDHIS."' between nw_begin_time and nw_end_time
and nw_device IN ( 'both', 'pc' ) and nw_division IN ( 'both', '".$pop_division."' )
order by nw_id asc ";
$result2 = sql_query($sql2, false);
?>
<script type="text/javascript" src="<?=G5_JS_URL?>/popevent.js"></script>
<style>
*{margin:0; padding:0;font:12px Archivo Black, Arial,霃嬱泙; }
#pop_win{width: 300px}
#pop_win a{text-decoration: none}
#popchange { overflow:hidden; float:left; position:relative; left:0px; top:0px; width:298px; height: 380px; margin:0; padding:0px; border:1px solid #ddd; border-bottom:0px solid #ddd; background:#fff; text-align:center; visibility:visible; z-index:99999999; }
#popchange ul { list-style:none; }
#divMenu { float:left; position:relative; left:0px; top:0px; margin:0; background:#fff; text-align:center; visibility:visible; z-index:99999999; }
.pagination:after{clear: both;display: block;content: ""}
.pagination { float:left; list-style:none; margin:0px 0px 0 0px; background:#fff; }
.pagination li {position: relative;float:left; width: 100px; height: 80px; padding:0px; color:#222; border: 1px solid #ddd; background:#eee; text-align:center; cursor:pointer; opacity:1.0; transition: all .5s ease;
-webkit-transition: all .5s ease;}
.pagination li:hover { color:#000; border:1px solid #D49696; background:; opacity:1.0; }
li.current { background:#fff; opacity:1.0; }
li.current p{color: #000!important}
.pagination li p {top: 30%; position: absolute; color: #999; text-align: center; display: block; width: 100%;}
li#content { width:298px; height:222px; margin:0px 0px 8px 8px; background:#fff; }
#content h1 { font:12px Archivo Black, Arial,霃嬱泙; margin-bottom:15px; color:#000; }
#footerfix { float:left; position:relative; left:0px; top:0px; z-index:99999999; }
.hd_pops_footer { padding: 0; background: #000; color: #fff; text-align: left; position: relative; /* height: 36px; */ float: left; width: 300px; }
#pop_win { width: 300px; position: fixed; z-index: 9999; left: 20%; top: 10%; }
</style>
<!-- 팝업레이어 시작 { -->
<div id="pop_win">
<div id="popchange" style="z-index:1005;">
<ul id="changes">
<?php
for ($i=0; $nw=sql_fetch_array($result); $i++)
{
// 이미 체크 되었다면 Continue
if ($_COOKIE["hd_pops_{$nw['nw_id']}"])
continue;
echo"<li>";
?>
<?php echo conv_content($nw['nw_content'], 1); ?>
<?
echo"</li>";
}?>
</ul>
</div>
<div id="divMenu">
<ul id="pagination" class="pagination">
<?php
for ($i=0; $nw2=sql_fetch_array($result2); $i++)
{
// 이미 체크 되었다면 Continue
if ($_COOKIE["hd_pops_{$nw['nw_id']}"])
continue;
?>
<li onmouseover="popchange.pos(<?=$i?>)"><p><?php echo $nw2['nw_subject']; ?></p></li>
<?}?>
</ul>
</div>
<div class="hd_pops_footer">
<button class="hd_pops_reject pop_win<?php echo $nw['nw_id']; ?> <?php echo $nw['nw_disable_hours']; ?>"><strong><?php echo $nw['nw_disable_hours']; ?></strong>시간 동안 다시 열람하지 않습니다.</button>
<button class="hd_pops_close pop_win<?php echo $nw['nw_id']; ?>">닫기 <i class="fa fa-times" aria-hidden="true"></i></button>
</div>
</div>
<script type="text/javascript">
var popchange=new TINY.fader.fade('popchange',{
id:'changes',
auto:1,
resume:true,
navid:'pagination',
activeclass:'current',
visible:true,
position:0
});
</script>
<script>
$(function() {
$(".hd_pops_reject").click(function() {
var id = $(this).attr('class').split(' ');
var ck_name = id[1];
var exp_time = parseInt(id[2]);
$("#"+id[1]).css("display", "none");
set_cookie(ck_name, 1, exp_time, g5_cookie_domain);
});
$('.hd_pops_close').click(function() {
var idb = $(this).attr('class').split(' ');
$('#'+idb[1]).css('display','none');
});
$("#hd").css("z-index", 1000);
});
</script>
<!-- } 팝업레이어 끝 -->
어디부분인지를 모르겠네여...