사용자: gnb z-index 추가2
This commit is contained in:
4
head.php
4
head.php
@ -114,7 +114,9 @@ if (G5_IS_MOBILE) {
|
||||
<?php
|
||||
$sql = " select * from {$g5['group_table']} where gr_show_menu = '1' and gr_device <> 'mobile' order by gr_order ";
|
||||
$result = sql_query($sql);
|
||||
$gnb_zindex = 999; // gnb_1dli z-index 값 설정용
|
||||
for ($gi=0; $row=sql_fetch_array($result); $gi++) { // gi 는 group index
|
||||
$gnb_zindex -= 1; // html 구조에서 앞선 gnb_1dli 에 더 높은 z-index 값 부여
|
||||
?>
|
||||
<li class="gnb_1dli">
|
||||
<a href="<?php echo G5_BBS_URL ?>/group.php?gr_id=<?php echo $row['gr_id'] ?>" class="gnb_1da"><?php echo $row['gr_subject'] ?></a>
|
||||
@ -122,9 +124,7 @@ if (G5_IS_MOBILE) {
|
||||
<?php
|
||||
$sql2 = " select * from {$g5['board_table']} where gr_id = '{$row['gr_id']}' and bo_show_menu = '1' and bo_device <> 'mobile' order by bo_order ";
|
||||
$result2 = sql_query($sql2);
|
||||
$gnb_zindex = 999; // gnb_1dli z-index 값 설정용
|
||||
for ($gi=0; $row=sql_fetch_array($result); $gi++) { // gi 는 group index
|
||||
$gnb_zindex -= 1; // html 구조에서 앞선 gnb_1dli 에 더 높은 z-index 값 부여
|
||||
?>
|
||||
<li class="gnb_2dli"><a href="<?php echo G5_BBS_URL ?>/board.php?bo_table=<?php echo $row2['bo_table'] ?>" class="gnb_2da"><?php echo $row2['bo_subject'] ?></a></li>
|
||||
<?php } ?>
|
||||
|
||||
Reference in New Issue
Block a user