안드로이드 폰에서 메뉴가 안뜨는 문제
본문
아미나테마를 적용했는데
PC에서 모바일사이즈로 하면 모바일 메뉴가 뜹니다.
그런데, 안드폰에서는 메뉴가 안뜨는군요..
답변 2
해당 질문 내용만으론 어떤 원인인지 어떤 증상인지조차 제대로 알기 어렵습니다.
사이트 링크나 최소한 스크린샷 정도는 있어야 합니다
thema/Basic/head.php 입니다.
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
$menu_cnt = count($menu);
$date = date_create();
add_stylesheet('<link rel="stylesheet" href="'.THEMA_URL.'/css/layout.css?" type="text/css">',0);
add_stylesheet('<link rel="stylesheet" href="'.THEMA_URL.'/css/bootstrap.min.css" type="text/css">',0);
?>
<div id="hd" style="z-index: 1000;">
<div class="hd_w">
<div class="logo"><a href="http://gsol.co.kr"><img src="../img/gsol_logo.jpg" alt="" title="" ></a></div>
<div class="ham_btn only_mb_blk">
<span class="menu_line_1"></span>
<span class="menu_line_2"></span>
<span class="menu_line_3"></span>
</div>
<div class="only_mb_blk mb_gnb">
<div class="hd_r">
<a href="tel:1000-2398" class="call"><img src="http://gsol.co.kr/theme/basic/img/tel_ic_on.png" alt=""> 1000-2398</a>
</div>
<div class="logo"><a href="http://gsol.co.kr"><img src="http://gsol.co.kr/img/gsol_logo.jpg" alt=""></a></div>
<div class="close_btn">
<span class="menu_line_1"></span>
<span class="menu_line_2"></span>
<span class="menu_line_3"></span>
</div>
<ul class="cate cf">
<?php
for ($i=1; $i < $menu_cnt; $i++) {
if(!$menu[$i]['gr_id']) continue;
?>
<li class="cate_li <?php echo $menu[$i]['on'];?>">
<span class="dep1_menu" href="<?php echo $menu[$i]['href'];?>"<?php echo $menu[$i]['target'];?>>
<?php echo $menu[$i]['name'];?>
<?php if($menu[$i]['new'] == "new") { ?>
<i class="fa fa-bolt new"></i>
<?php } ?>
</span>
</li>
<?php } //for ?>
</ul>
<!--
<ul class="cate cf">
<?php
for ($i=1; $i < $menu_cnt; $i++) {
if(!$menu[$i]['gr_id']) continue;
?>
<li class="cate_li">
<span class="dep1_menu" href="<?php echo $menu[$i]['href'];?>"<?php echo $menu[$i]['target'];?>>
<?php echo $menu[$i]['name'];?>
<p class="cate_line"></p>
<?php if($menu[$i]['new'] == "new") { ?>
<i class="fa fa-bolt new"></i>
<?php } ?>
</span>
<?php if($menu[$i]['is_sub']) { //Is Sub Menu ?>
<ul class="dep2">
<?php
$smw1 = 1; //나눔 체크
for($j=0; $j < count($menu[$i]['sub']); $j++) {
?>
<li><a href="<?php echo $menu[$i]['sub'][$j]['href'];?>" class="sub-1da<?php echo ($menu[$i]['sub'][$j]['is_sub']) ? ' sub-icon' : '';?>"<?php echo $menu[$i]['sub'][$j]['target'];?>>
<?php echo $menu[$i]['sub'][$j]['name'];?>
<?php if($menu[$i]['sub'][$j]['new'] == "new") { ?>
<i class="fa fa-bolt sub-1new"></i>
<?php } ?>
</a></li>
<?php } ?>
</ul>
<?php } ?>
</li>
<?php } //for ?>
<li class="cate_li">
<span class="dep1_menu">1000-2398</span>
</li>
</ul>
-->
</div>
<div class="callnum">1000-2398</div>
<div class="gnb only_pc_blk">
<ul class="cate cf">
<?php
for ($i=1; $i < $menu_cnt; $i++) {
if(!$menu[$i]['gr_id']) continue;
?>
<li class="cate_li <?php echo $menu[$i]['on'];?>">
<a href="<?php echo $menu[$i]['href'];?>"<?php echo $menu[$i]['target'];?>>
<?php echo $menu[$i]['name'];?>
<p class="cate_line"></p>
<?php if($menu[$i]['new'] == "new") { ?>
<i class="fa fa-bolt new"></i>
<?php } ?>
</a>
<?php if($menu[$i]['is_sub']) { //Is Sub Menu ?>
<ul class="dep2">
<?php
$smw1 = 1; //나눔 체크
for($j=0; $j < count($menu[$i]['sub']); $j++) {
?>
<li><a href="<?php echo $menu[$i]['sub'][$j]['href'];?>" class="sub-1da<?php echo ($menu[$i]['sub'][$j]['is_sub']) ? ' sub-icon' : '';?>"<?php echo $menu[$i]['sub'][$j]['target'];?>>
<?php echo $menu[$i]['sub'][$j]['name'];?>
<?php if($menu[$i]['sub'][$j]['new'] == "new") { ?>
<i class="fa fa-bolt sub-1new"></i>
<?php } ?>
</a></li>
<?php } ?>
</ul>
<?php } ?>
</li>
<?php } //for ?>
</ul>
</div>
<script>
$(function() {
$('.dep2 li').mouseenter(function(){
$(this).css({'background-color':'#f2f2f2'})
$(this).children('a').css({color:'#3772b9','letter-spacing':'0.5px'})
$(this).children('a').children('p').stop().animate({width:'100%'},500)
});
$('.dep2 li').mouseleave(function(){
$(this).css({'background-color':'#fff'})
$(this).children('a').css({color:'#333','letter-spacing':'-0.5px'})
$(this).children('a').children('p').stop().animate({width:'0%'},500)
});
});
</script>
<div class="hd_r">
<!-- <a href="tel:1000-2398" class="call"><img src="http://gsol.co.kr/theme/basic/img/tel_ic.png" alt=""/> 1000-2398</a> -->
<!-- <table class="smp_tb">
<tr>
<th rowspan="2">오늘의 SMP<br>20181105</th>
<td>육지 <small class="num">102.78</small></td>
</tr>
<tr>
<td>제주 <small class="num">167.6</small></td>
</tr>
</table> -->
</div>
</div>
</div>
<div id="wrapper">
<div id="container_wr">
<div id="container">