모바일: 문서 최상단 메인메뉴 바로가기 링크 추가
This commit is contained in:
@ -25,7 +25,7 @@ pre {overflow-x:scroll;font-size:1.1em}
|
||||
#hd_login_msg {position:absolute;top:0;left:0;width:0;height:0;overflow:hidden}
|
||||
.sound_only {display:inline-block;margin:0 !important;padding:0 !important;width:0 !important;height:0 !important;font-size:0 !important;line-height:0 !important;overflow:hidden}
|
||||
/* 본문 바로가기 */
|
||||
#to_content a {z-index:100000;position:absolute;top:0;left:0;width:0;height:0;font-size:0;line-height:0;overflow:hidden}
|
||||
.to_content a {z-index:100000;position:absolute;top:0;left:0;width:0;height:0;font-size:0;line-height:0;overflow:hidden}
|
||||
|
||||
/* 이미지 등비율 리사이징 */
|
||||
.img_fix {float:left;width:100%;height:auto}
|
||||
|
||||
@ -13,7 +13,8 @@ include_once(G4_LIB_PATH.'/popular.lib.php');
|
||||
<header id="hd">
|
||||
<h1><?=$config['cf_title']?></h1>
|
||||
|
||||
<div id="to_content"><a href="#container">본문 바로가기</a></div>
|
||||
<div class="to_content"><a href="#container">본문 바로가기</a></div>
|
||||
<div class="to_content"><a href="#gnb">메인메뉴 바로가기</a></div>
|
||||
|
||||
<div id="hd_wrapper">
|
||||
|
||||
@ -81,7 +82,7 @@ include_once(G4_LIB_PATH.'/popular.lib.php');
|
||||
<nav id="lnb">
|
||||
<ul>
|
||||
<?
|
||||
$sql2 = " select * from {$g4['board_table']} where gr_id = '{$gr_id}' order by bo_order ";
|
||||
$sql2 = " select * from {$g4['board_table']} where gr_id = '{$gr_id}' and bo_show_menu = 1 order by bo_order ";
|
||||
$result2 = sql_query($sql2);
|
||||
for ($bi=0; $row2=sql_fetch_array($result2); $bi++) { // bi 는 board index
|
||||
?>
|
||||
|
||||
@ -11,7 +11,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<h2>홈페이지 메인메뉴</h2>
|
||||
<ul>
|
||||
<?
|
||||
$sql = " select * from {$g4['group_table']} where gr_show_menu order by gr_order ";
|
||||
$sql = " select * from {$g4['group_table']} where gr_show_menu = 1 order by gr_order ";
|
||||
$result = sql_query($sql);
|
||||
for ($gi=0; $row=sql_fetch_array($result); $gi++) { // gi 는 group index
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user