您好!我这个问题应该什么处理呢
导航为什么出现蓝呢?
<!--{subtemplate common/header_common}-->
<meta name="application-name" content="$_G['setting']['bbname']" />
<meta name="msapplication-tooltip" content="$_G['setting']['bbname']" />
<!--{if $_G['setting']['portalstatus']}--><meta name="msapplication-task" content="name=$_G['setting']['navs']['navname'];action-uri={echo !empty($_G['setting']['domain']['app']['portal']) ? 'http://'.$_G['setting']['domain']['app']['portal'] : $_G.'portal.php'};icon-uri={$_G}{IMGDIR}/portal.ico" /><!--{/if}-->
<meta name="msapplication-task" content="name=$_G['setting']['navs']['navname'];action-uri={echo !empty($_G['setting']['domain']['app']['forum']) ? 'http://'.$_G['setting']['domain']['app']['forum'] : $_G.'forum.php'};icon-uri={$_G}{IMGDIR}/bbs.ico" />
<!--{if $_G['setting']['groupstatus']}--><meta name="msapplication-task" content="name=$_G['setting']['navs']['navname'];action-uri={echo !empty($_G['setting']['domain']['app']['group']) ? 'http://'.$_G['setting']['domain']['app']['group'] : $_G.'group.php'};icon-uri={$_G}{IMGDIR}/group.ico" /><!--{/if}-->
<!--{if helper_access::check_module('feed')}--><meta name="msapplication-task" content="name=$_G['setting']['navs']['navname'];action-uri={echo !empty($_G['setting']['domain']['app']['home']) ? 'http://'.$_G['setting']['domain']['app']['home'] : $_G.'home.php'};icon-uri={$_G}{IMGDIR}/home.ico" /><!--{/if}-->
<!--{if $_G['basescript'] == 'forum' && $_G['setting']['archiver']}-->
<link rel="archives" title="$_G['setting']['bbname']" href="{$_G}archiver/" />
<!--{/if}-->
<!--{if !empty($rsshead)}-->$rsshead<!--{/if}-->
<!--{if widthauto()}-->
<link rel="stylesheet" id="css_widthauto" type="text/css" href="data/cache/style_{STYLEID}_widthauto.css?{VERHASH}" />
<script type="text/javascript">HTMLNODE.className += ' widthauto'</script>
<LINK rel=stylesheet
type=text/css href="template/lcpigcom/common/style_1_common.css">
<SCRIPT type=text/javascript src="template/lcpigcom/css/common.js"></SCRIPT>
<SCRIPT type=text/javascript src="template/lcpigcom/css/jquery.js"></SCRIPT>
<script language="javascript">
var JQ = jQuery.noConflict();
//城市站选择
JQ(document).ready(
function($){
$('#city-con').mousemove(function(){
var a = $('#city-con').find('ul');
$('#city-menu').addClass('current');
a.show();
a.animate({opacity:'1'},500);
});
$('#city-con').mouseleave(function(){
var a = $('#city-con').find('ul');
a.hide();
$('#city-menu').removeClass('current');
});
}
);
</script>
<!--{/if}-->
<!--{if $_G['basescript'] == 'forum' || $_G['basescript'] == 'group'}-->
<script type="text/javascript" src="{$_G}forum.js?{VERHASH}"></script>
<!--{elseif $_G['basescript'] == 'home' || $_G['basescript'] == 'userapp'}-->
<script type="text/javascript" src="{$_G}home.js?{VERHASH}"></script>
<!--{elseif $_G['basescript'] == 'portal'}-->
<script type="text/javascript" src="{$_G}portal.js?{VERHASH}"></script>
<!--{/if}-->
<!--{if $_G['basescript'] != 'portal' && $_GET['diy'] == 'yes' && check_diy_perm($topic)}-->
<script type="text/javascript" src="{$_G}portal.js?{VERHASH}"></script>
<!--{/if}-->
<!--{if $_GET['diy'] == 'yes' && check_diy_perm($topic)}-->
<link rel="stylesheet" type="text/css" id="diy_common" href="data/cache/style_{STYLEID}_css_diy.css?{VERHASH}" />
<!--{/if}-->
</head>
<body id="nv_{$_G}" class="pg_{CURMODULE}{if $_G['basescript'] === 'portal' && CURMODULE === 'list' && !empty($cat)} {$cat['bodycss']}{/if}">
<div id="append_parent"></div><div id="ajaxwaitid"></div>
<!--{if $_GET['diy'] == 'yes' && check_diy_perm($topic)}-->
<!--{template common/header_diy}-->
<!--{/if}-->
<!--{if check_diy_perm($topic)}-->
<!--{template common/header_diynav}-->
<!--{/if}-->
<!--{if CURMODULE == 'topic' && $topic && empty($topic['useheader']) && check_diy_perm($topic)}-->
$diynav
<!--{/if}-->
<!--{if empty($topic) || $topic['useheader']}-->
<!--{if $_G['setting']['mobile']['allowmobile'] && (!$_G['setting']['cacheindexlife'] && !$_G['setting']['cachethreadon'] || $_G['uid']) && ($_GET['diy'] != 'yes' || !$_GET['inajax']) && ($_G['mobile'] != '' && $_G['cookie']['mobile'] == '' && $_GET['mobile'] != 'no')}-->
<div class="xi1 bm bm_c">
{lang your_mobile_browser}<a href="{$_G['siteurl']}forum.php?mobile=yes">{lang go_to_mobile}</a> <span class="xg1">|</span> <a href="$_G['setting']['mobile']['nomobileurl']">{lang to_be_continue}</a>
</div>
<!--{/if}-->
<!--{if $_G['setting']['shortcut'] && $_G['member'] >= $_G['setting']['shortcut']}-->
<div id="shortcut">
<span><a href="javascript:;" id="shortcutcloseid" title="{lang close}">{lang close}</a></span>
{lang shortcut_notice}
<a href="javascript:;" id="shortcuttip">{lang shortcut_add}</a>
</div>
<script type="text/javascript">setTimeout(setShortcut, 2000);</script>
<!--{/if}-->
<div id="toptb" class="cl">
<!--{hook/global_cpnav_top}-->
<div class="wp">
<div class="z">
<!--{loop $_G['setting']['topnavs'] $nav}-->
<!--{if $nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))}-->$nav<!--{/if}-->
<!--{/loop}-->
<!--{hook/global_cpnav_extra1}-->
</div>
<div class="y">
<a id="switchblind" href="javascript:;" title="{lang switch_blind}" class="switchblind">{lang switch_blind}</a>
<!--{hook/global_cpnav_extra2}-->
<!--{loop $_G['setting']['topnavs'] $nav}-->
<!--{if $nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))}-->$nav<!--{/if}-->
<!--{/loop}-->
<!--{if empty($_G['disabledwidthauto']) && $_G['setting']['switchwidthauto']}-->
<a href="javascript:;" id="switchwidth" title="{if widthauto()}{lang switch_narrow}{else}{lang switch_wide}{/if}" class="switchwidth"><!--{if widthauto()}-->{lang switch_narrow}<!--{else}-->{lang switch_wide}<!--{/if}--></a>
<!--{/if}-->
<!--{if $_G['uid'] && !empty($_G['style']['extstyle'])}--><a id="sslct" href="javascript:;">{lang changestyle}</a><!--{/if}-->
<!--{if check_diy_perm($topic)}-->
$diynav
<!--{/if}-->
</div>
</div>
</div>
<!--{if !IS_ROBOT}-->
<!--{if $_G['uid']}-->
<ul id="myprompt_menu" class="p_pop" style="display: none;">
<li><a href="home.php?mod=space&do=pm" id="pm_ntc" style="background-repeat: no-repeat; background-position: 0 50%;"><em class="prompt_news{if empty($_G)}_0{/if}"></em>{lang pm_center}</a></li>
<li><a href="home.php?mod=follow&do=follower"><em class="prompt_follower{if empty($_G)}_0{/if}"></em><!--{lang notice_interactive_follower}-->{if $_G}($_G){/if}</a></li>
<!--{if $_G && $_G}-->
<li><a href="home.php?mod=follow"><em class="prompt_concern"></em><!--{lang notice_interactive_follow}-->($_G)</a></li>
<!--{/if}-->
<!--{if $_G}-->
<!--{loop $_G['member']['category_num'] $key $val}-->
<li><a href="home.php?mod=space&do=notice&view=$key"><em class="notice_$key"></em><!--{echo lang('template', 'notice_'.$key)}-->(<span class="rq">$val</span>)</a></li>
<!--{/loop}-->
<!--{/if}-->
<!--{if empty($_G['cookie']['ignore_notice'])}-->
<li class="ignore_noticeli"><a href="javascript:;" title="{lang temporarily_to_remind}"><em class="ignore_notice"></em></a></li>
<!--{/if}-->
</ul>
<!--{/if}-->
<!--{if $_G['uid'] && !empty($_G['style']['extstyle'])}-->
<div id="sslct_menu" class="cl p_pop" style="display: none;">
<!--{if !$_G}--><span class="sslct_btn" title="{lang default}"><i></i></span><!--{/if}-->
<!--{loop $_G['style']['extstyle'] $extstyle}-->
<span class="sslct_btn" title="$extstyle"><i style='background:$extstyle'></i></span>
<!--{/loop}-->
</div>
<!--{/if}-->
<!--{if $_G['uid']}-->
<ul id="myitem_menu" class="p_pop" style="display: none;">
<li><a href="forum.php?mod=guide&view=my">{lang mypost}</a></li>
<li><a href="home.php?mod=space&do=favorite&view=me">{lang favorite}</a></li>
<li><a href="home.php?mod=space&do=friend">{lang friends}</a></li>
<!--{hook/global_myitem_extra}-->
</ul>
<!--{/if}-->
<!--{subtemplate common/header_qmenu}-->
<!--{/if}-->
<!--{ad/headerbanner/wp a_h}-->
<div id="hd">
<div class="wp">
<div class="hdc cl">
<!--{eval $mnid = getcurrentnav();}-->
<h2><!--{if !isset($_G['setting']['navlogos'][$mnid])}--><a href="{if $_G['setting']['domain']['app']['default']}http://{$_G['setting']['domain']['app']['default']}/{else}./{/if}" title="$_G['setting']['bbname']">{$_G['style']['boardlogo']}</a><!--{else}-->$_G['setting']['navlogos'][$mnid]<!--{/if}--></h2>
<!--{template common/header_userstatus}-->
</div>
<div id="nv">
<a href="javascript:;" id="qmenu" onMouseOver="delayShow(this, function () {showMenu({'ctrlid':'qmenu','pos':'34!','ctrlclass':'a','duration':2});showForummenu($_G);})">{lang my_nav}</a>
<ul>
<!--{loop $_G['setting']['navs'] $nav}-->
<!--{if $nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))}--><li {if $mnid == $nav}class="a" {/if}$nav></li><!--{/if}-->
<!--{/loop}-->
</ul>
<!--{hook/global_nav_extra}-->
</div>
<div id="nv_menu">
<dl class="dl_one">
<dt></dt>
<dd>
<a href="/forum-15-1.html">鹭岛生活</a>
<a href="/forum-11-1.html">心情猪猪</a>
<a href="/forum-32-1.html">征婚交友</a>
<a href="/forum-813-1.html">厦门新娘</a>
<a href="/forum-66-1.html">亲子乐园</a>
<a href="/forum-59-1.html">房屋出租</a>
<a href="/forum-25-1.html">厦门人才</a>
<a href="/forum-60-1.html">跳蚤市场</a>
</dd>
</dl>
<dl class="dl_two">
<dt></dt>
<dd>
<a href="/forum-3-1.html">猪猪相册</a>
<a href="/forum-7-1.html">明月茶楼</a>
<a href="/forum-815-1.html">时尚购物</a>
<a href="/forum-5-1.html">美食厨房</a>
<a href="/forum-68-1.html">宠物家园</a>
<a href="/forum-16-1.html">行行摄摄</a>
<a href="/forum-92-1.html">爱车一族</a>
<a href="/forum-819-1.html">商业集市</a>
</dd>
</dl>
</div>
<!--{if !empty($_G['setting']['plugins']['jsmenu'])}-->
<ul class="p_pop h_pop" id="plugin_menu" style="display: none">
<!--{loop $_G['setting']['plugins']['jsmenu'] $module}-->
<!--{if !$module['adminid'] || ($module['adminid'] && $_G['adminid'] > 0 && $module['adminid'] >= $_G['adminid'])}-->
<li>$module</li>
<!--{/if}-->
<!--{/loop}-->
</ul>
<!--{/if}-->
$_G
<div id="mu" class="cl">
<!--{if $_G['setting']['subnavs']}-->
<!--{loop $_G $navid $subnav}-->
<!--{if $_G['setting']['navsubhover'] || $mnid == $navid}-->
<ul class="cl {if $mnid == $navid}current{/if}" id="snav_$navid" style="display:{if $mnid != $navid}none{/if}">
$subnav
</ul>
<!--{/if}-->
<!--{/loop}-->
<!--{/if}-->
</div>
<!--{ad/subnavbanner/a_mu}-->
<!--{subtemplate common/pubsearchform}-->
</div>
</div>
<!--{hook/global_header}-->
<!--{/if}-->
<div id="wp" class="wp">
不关模板文件的事情,是你的css有问题!检查一下!导航的背景图片!把他删除就可以了! admin 发表于 2014-6-30 11:24
不关模板文件的事情,是你的css有问题!检查一下!导航的背景图片!把他删除就可以了!
导航的背景图片是那个代码呢、 在common.css里面
主导航样式里面看下
#nv {
overflow: hidden;
height: 33px;
background: #2B7ACD url("{STYLEIMG}/common/nv.png") no-repeat 0 0;
}
主导航下面的单个<li>标记样式
loat: left;
padding-right: 1px;
height: 33px;
line-height: 33px;
background: url({STYLE}/common/nv_a.png) no-repeat 100% 0;
font-weight: 700;
font-size: 14px;
当鼠标移动上去时候的样式
#nv li.hover a:hover, #nv li.hover a {
background: url({STYLE}/nv_a.png) no-repeat 50% -99px;
}
导航处一共就3个样式涉及背景图片!请仔细检查!
页:
[1]