lnb 스타일
This commit is contained in:
@ -104,34 +104,29 @@ function imageview(id, w, h)
|
|||||||
echo $gnb_str;
|
echo $gnb_str;
|
||||||
?>
|
?>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
|
||||||
|
|
||||||
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
<?php if($sub_menu) { ?>
|
||||||
|
<ul id="lnb">
|
||||||
|
<?php
|
||||||
|
$menu_key = substr($sub_menu, 0, 3);
|
||||||
|
$nl = '';
|
||||||
|
foreach($menu['menu'.$menu_key] as $key=>$value) {
|
||||||
|
if($key > 0) {
|
||||||
|
if ($menu_key == substr($menu['menu'.$key][0][0], 0, 2)) echo 1;
|
||||||
|
echo $nl.'<li><a href="'.$value[2].'">'.$value[1].'</a></li>';
|
||||||
|
$nl = PHP_EOL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</ul>
|
||||||
|
<?php } ?>
|
||||||
|
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
|
|
||||||
<!-- <ul id="qnb">
|
|
||||||
<li><a href="<?php echo G5_ADMIN_URL ?>/member_list.php">회원</a></li>
|
|
||||||
<li><a href="<?php echo G5_ADMIN_URL ?>/board_list.php">게시판</a></li>
|
|
||||||
<li><a href="<?php echo G5_ADMIN_URL ?>/visit_list.php">접속자</a></li>
|
|
||||||
</ul> -->
|
|
||||||
|
|
||||||
<div id="container">
|
<div id="container">
|
||||||
<?php if($sub_menu) { ?>
|
|
||||||
<ul>
|
|
||||||
<?php
|
|
||||||
$menu_key = substr($sub_menu, 0, 3);
|
|
||||||
$nl = '';
|
|
||||||
foreach($menu['menu'.$menu_key] as $key=>$value) {
|
|
||||||
if($key > 0) {
|
|
||||||
echo $nl.'<li><a href="'.$value[2].'">'.$value[1].'</a></li>';
|
|
||||||
$nl = PHP_EOL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</ul>
|
|
||||||
<?php } ?>
|
|
||||||
|
|
||||||
<div id="text_size">
|
<div id="text_size">
|
||||||
<!-- font_resize('엘리먼트id', '제거할 class', '추가할 class'); -->
|
<!-- font_resize('엘리먼트id', '제거할 class', '추가할 class'); -->
|
||||||
<button onclick="font_resize('container', 'ts_up ts_up2', '');">기본</button>
|
<button onclick="font_resize('container', 'ts_up ts_up2', '');">기본</button>
|
||||||
|
|||||||
@ -69,6 +69,11 @@ h2 {font-size:1.2em}
|
|||||||
.gnb_js .gnb_grp_style:focus, .gnb_js .gnb_grp_style:hover {background:#484848 !important}
|
.gnb_js .gnb_grp_style:focus, .gnb_js .gnb_grp_style:hover {background:#484848 !important}
|
||||||
.gnb_js .gnb_grp_div {border-top:1px solid #eee}
|
.gnb_js .gnb_grp_div {border-top:1px solid #eee}
|
||||||
|
|
||||||
|
#lnb {margin:0;padding:10px 15px;list-style:none;zoom:1}
|
||||||
|
#lnb:after {display:block;visibility:hidden;clear:both;content:""}
|
||||||
|
#lnb li {float:left}
|
||||||
|
#lnb a {display:inline-block;padding:5px;font-size:0.95em;letter-spacing:-0.1em}
|
||||||
|
|
||||||
/* 중간 레이아웃 */
|
/* 중간 레이아웃 */
|
||||||
#wrapper {z-index:5;margin:30px auto;width:1000px;min-height:630px;height:auto !important;height:630px;zoom:1}
|
#wrapper {z-index:5;margin:30px auto;width:1000px;min-height:630px;height:auto !important;height:630px;zoom:1}
|
||||||
#wrapper:after {display:block;visibility:hidden;clear:both;content:""}
|
#wrapper:after {display:block;visibility:hidden;clear:both;content:""}
|
||||||
|
|||||||
Reference in New Issue
Block a user