관리자: gnb 폭보다 넓어질 때 처리

This commit is contained in:
whitedot
2013-03-04 13:53:17 +09:00
parent 6ab1a8f7d7
commit 2fc50727fd
2 changed files with 2 additions and 1 deletions

View File

@ -92,7 +92,7 @@ function imageview(id, w, h)
<h2>관리자 주메뉴</h2>
<script>$('#gnb').addClass('gnb_js');</script>
<?
$gnb_str = "<ul>";
$gnb_str = "<ul id=\"gnb_ul\">";
foreach($amenu as $key=>$value) {
$href1 = $href2 = '';
if ($menu['menu'.$key][0][2]) {

View File

@ -80,6 +80,7 @@ h2 {font-size:1.2em}
.gnb_js .gnb_1depth ul {width:0;height:0;overflow:hidden}
.gnb_js .gnb_1depth li {float:none}
.gnb_js .gnb_1depth_over ul {position:absolute;top:35px;left:-1px;width:181px;height:auto;border:1px solid #ccc;border-top:0}
.gnb_js .gnb_1depth_over2 ul {position:absolute;top:35px;right:-1px;width:181px;height:auto;border:1px solid #ccc;border-top:0}
.gnb_js .gnb_2depth a {display:inline-block;margin:0;padding:5px 10px;width:161px;height:25px;border-bottom:0;background:#fff;color:#000;font-weight:normal;text-align:left;line-height:2.1em}
#current_loc {position:absolute;top:-5000px;left:0}