배너관리 배너이미지 보기 토글 기능 추가
This commit is contained in:
@ -90,7 +90,10 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="<?php echo $bg; ?>">
|
<tr class="<?php echo $bg; ?>">
|
||||||
<td headers="th_img" colspan="6" class="td_img_view"><?php echo $bn_img; ?></td>
|
<td headers="th_img" colspan="6" class="td_img_view">
|
||||||
|
<div class="bn_image"><?php echo $bn_img; ?></div>
|
||||||
|
<button type="button" class="bn_img_view">이미지보기</button>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
@ -106,6 +109,14 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함
|
|||||||
|
|
||||||
<?php echo get_paging(G5_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page="); ?>
|
<?php echo get_paging(G5_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page="); ?>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
$(function() {
|
||||||
|
$(".bn_img_view").on("click", function() {
|
||||||
|
$(this).closest(".td_img_view").find(".bn_image").slideToggle();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
include_once (G5_ADMIN_PATH.'/admin.tail.php');
|
include_once (G5_ADMIN_PATH.'/admin.tail.php');
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user