  
- 積分
- 5071
- 威望
- 5071
- 金錢
- 2879
- 最後登錄
- 2025-4-6
       
|
把这段代码重新放置- <div class="topbar-sticky">
- <div class="topbar-line">
-
- </div>
- <div class="wrapper">
- <div class="menu-content clearfix left">
- <nav class="mainmenu">
- <ul id="menu-main-menu" class="menu clear">
- <li id="menu-item-8464" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-8464">
- <a href="http://tnk.imotor.com/">
- <b>首页</b>
- </a>
- </li>
- <li id="menu-item-8286" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-8197 current_page_item menu-item-8286">
- <a href="index.php">
- <b>论坛</b>
- </a>
- </li>
- <li id="menu-item-8458" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-8458">
- <a href="plugin.php?id=dps_sign:sign">
- <b>每日签到</b>
- </a>
- </li>
- <li id="menu-item-8457" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-8457">
- <a href="search.php">
- <b>搜索</b>
- </a>
- </li>
- <li id="menu-item-8438" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-8438">
- <a href="faq.php">
- <b>帮助</b>
- </a>
- </li>
- </ul>
- </nav>
- <div id="slidingArrow">
-
- </div>
- </div>
- <div id="amenu">
- <!--{if $discuz_uid}-->
- <cite><a href="space.php?uid=$discuz_uid" class="noborder">$discuz_userss</a><!--{if $allowinvisible}--><span id="loginstatus"><!--{if !empty($invisible)}--><a href="member.php?action=switchstatus" onclick="ajaxget(this.href, 'loginstatus');doane(event);">{lang login_invisible_mode}</a><!--{else}--><a href="member.php?action=switchstatus" title="{lang login_switch_invisible_mode}" onclick="ajaxget(this.href, 'loginstatus');doane(event);">{lang login_normal_mode}</a><!--{/if}--></span><!--{/if}--></cite>
- <span class="pipe">|</span>
- <!--{if $ucappopen['UCHOME']}-->
- <a href="{$uchomeurl}/space.php?uid=$discuz_uid" target="_blank">{lang space_short}</a>
- <!--{elseif $ucappopen['XSPACE']}-->
- <a href="{$xspaceurl}/?uid-$discuz_uid" target="_blank">{lang space_short}</a>
- <!--{/if}-->
- <a id="myprompt" href="notice.php" <!--{if $prompt}-->class="new" onmouseover="showMenu({'ctrlid':this.id})"<!--{/if}-->>{lang notice}</a>
- <span id="myprompt_check"></span>
- <a href="pm.php" id="pm_ntc" target="_blank">{lang pm_center}</a>
- <!--{if $taskon}-->
- <a id="task_ntc" {if $doingtask}href="task.php?item=doing" class="new" title="{lang task_unfinish}"{else}href="task.php"{/if} target="_blank">{lang task}</a>
- <!--{/if}-->
- <span class="pipe">|</span>
- <a href="memcp.php">{lang user_center}</a>
- <!--{if $discuz_uid && $adminid > 1}--><a href="modcp.php?fid=$fid" target="_blank">{lang modcp}</a><!--{/if}-->
- <!--{if $discuz_uid && $adminid == 1}--><a href="admincp.php" target="_blank">{lang admincp}</a><!--{/if}-->
- <a href="logging.php?action=logout&formhash={FORMHASH}">{lang logout}</a>
- <!--{elseif !empty($_DCOOKIE['loginuser'])}-->
- <cite><a id="loginuser" class="noborder">$_DCOOKIE['loginuser']</a></cite>
- <a href="logging.php?action=login" onclick="showWindow('login', this.href);return false;">{lang activation}</a>
- <a href="logging.php?action=logout&formhash={FORMHASH}">{lang logout}</a>
- <!--{else}-->
- <a href="$regname" onclick="showWindow('register', this.href);return false;" class="noborder">$reglinkname</a>
- <a href="logging.php?action=login" onclick="showWindow('login', this.href);return false;">{lang login}</a>
- <!--{/if}-->
- </div>
- </div>
- </div>
- <div style="height:51px"></div>
複製代碼 删掉- <div style="height:51px"></div>
複製代碼 剩下的代码放到- <body id="{CURSCRIPT}" onkeydown="if(event.keyCode==27) return false;">
複製代碼 的下边。
.topbar-sticky的css改为:- .topbar-sticky {
- width: 100%;
- height: 51px;
- background: url(style_2_common.css) scroll 0 0 repeat #333333;
- z-index: 1000;
- }
複製代碼 #header h2的css改为- #header h2 {
- margin: -180px 0 0 -280px;
- position: absolute;
- display: block!important;
- }
複製代碼 |
|