first commit 2
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
<style>
|
||||
.gap_inner_line_wrap {height:1px; border-top:1px solid rgba(0,0,0,0.1);}
|
||||
</style>
|
||||
|
||||
<div class="gap_inner_line_wrap pc"></div>
|
||||
@@ -0,0 +1,45 @@
|
||||
<style>
|
||||
.gap_width_line_wrap {height:1px; border-top:1px solid rgba(0,0,0,0.1);}
|
||||
</style>
|
||||
|
||||
<div class="gap_width_line_wrap gap_width_line_wrap_<?php echo $row_mod['md_id'] ?> pc"></div>
|
||||
|
||||
<script>
|
||||
|
||||
//부모 width를 무시하고 div 를 100%로 만들고, 모듈설정 버튼의 100% 처리를 위해 스크립트를 사용 합니다.
|
||||
//복제 사용을 위해 $row_mod['md_id'](모듈ID) 를 활용 합니다.
|
||||
|
||||
function gap_width_line_wrap_<?php echo $row_mod['md_id'] ?>() {
|
||||
const content_w = $('.gap_width_line_wrap_<?php echo $row_mod['md_id'] ?>');
|
||||
const firstAdminOv_w = content_w.nextUntil('.admin_ov').next('.admin_ov');
|
||||
|
||||
if ($(window).width() > <?php echo $rb_core['main_width'] ?>) {
|
||||
content_w.css({
|
||||
'width': '100vw',
|
||||
'position': 'relative',
|
||||
'left': '50%',
|
||||
'transform': 'translateX(-50%)'
|
||||
});
|
||||
firstAdminOv_w.css({
|
||||
'width': '100vw',
|
||||
'left': '50%',
|
||||
'transform': 'translateX(-50%)'
|
||||
});
|
||||
} else {
|
||||
content_w.css({
|
||||
'width': '100%',
|
||||
'position': 'static',
|
||||
'left': '0',
|
||||
'transform': 'none'
|
||||
});
|
||||
firstAdminOv_w.css({
|
||||
'width': '100%',
|
||||
'left': '0',
|
||||
'transform': 'none'
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
$(document).ready(gap_width_line_wrap_<?php echo $row_mod['md_id'] ?>);
|
||||
$(window).resize(gap_width_line_wrap_<?php echo $row_mod['md_id'] ?>);
|
||||
</script>
|
||||
@@ -0,0 +1,5 @@
|
||||
<style>
|
||||
.gap_wrap {height:1px; margin-top: -10px; margin-bottom: -10px;}
|
||||
</style>
|
||||
|
||||
<div class="gap_wrap pc"></div>
|
||||
@@ -0,0 +1,32 @@
|
||||
<!--
|
||||
경로 : /rb/rb.widget/rb.quick_btns/
|
||||
사용자코드를 입력하세요.
|
||||
-->
|
||||
<div class="q_btns">
|
||||
<button type="button" class="arr_bg" onclick="location.href='#';">
|
||||
<i><img src="<?php echo G5_THEME_URL ?>/rb.img/icon/icon_btn1.svg"></i>
|
||||
<span>레벨링 가이드</span>
|
||||
</button>
|
||||
|
||||
<button type="button" class="arr_bg" onclick="location.href='#';">
|
||||
<i><img src="<?php echo G5_THEME_URL ?>/rb.img/icon/icon_btn2.svg"></i>
|
||||
<span>배너광고 신청</span>
|
||||
</button>
|
||||
|
||||
<button type="button" class="arr_bg" onclick="location.href='#';">
|
||||
<i><img src="<?php echo G5_THEME_URL ?>/rb.img/icon/icon_btn3.svg"></i>
|
||||
<span>포인트 충전</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
function openNewWindow(url) {
|
||||
var width = Math.min(window.screen.width, 1380);
|
||||
var height = Math.min(window.screen.height, 768);
|
||||
var left = (window.screen.width - width) / 2;
|
||||
var top = (window.screen.height - height) / 2;
|
||||
|
||||
window.open(url, '_blank', `width=${width},height=${height},left=${left},top=${top},resizable=yes,scrollbars=yes`);
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user