海量企業(yè)網(wǎng)站模板 · 任您選擇
美出特色,精出品質(zhì),一切為了企業(yè)更好的營(yíng)銷(xiāo)
美出特色,精出品質(zhì),一切為了企業(yè)更好的營(yíng)銷(xiāo)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.xxx.cn/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.xxx.cn/1999/xhtml">
<TITLE>js二級(jí)橫向滑動(dòng)導(dǎo)航菜單 - </TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<style type=text/css>
BODY {}
UL {
LIST-STYLE-TYPE: none;
padding:0px;
margin:0px;
}
LI {
FONT-SIZE: 12px;
COLOR: #333;
LINE-HEIGHT: 1.5em;
FONT-FAMILY: "宋體", Arial, Verdana;
}
.hide {
DISPLAY: none
}
#mainmenu_top UL LI .menuhover {
BACKGROUND: url(mainmenu_s.gif) no-repeat;
COLOR: #fff;
}
#mainmenu_top UL LI A {
MARGIN-TOP: 2px;
CURSOR: pointer;
PADDING-TOP: 8px;
HEIGHT: 20px;
text-decoration: none;
}
#mainmenu_top {
width:100%;
HEIGHT: 28px;
display:block;
overflow:hidden;
}
#mainmenu_top UL LI {FLOAT: left}
#mainmenu_top UL LI A {
WIDTH: 81px;
height:auto;
DISPLAY: block;
COLOR: #666666;
TEXT-ALIGN: center;
FONT-WEIGHT: bold;
BACKGROUND: url(mainmenu_h.gif) no-repeat;
}
#mainmenu_bottom {
width:100%;
height:32px;
line-height:32px;
display:block;
overflow:hidden;
BACKGROUND: url(mainmenu_bg.jpg) repeat-x
}
#mainmenu_bottom .mainmenu_rbg {
HEIGHT: 32px;
COLOR: #fff;
MARGIN-LEFT: 0px;
PADDING: 0px 0px 0px 5px;
BACKGROUND: url(mainmenu_r.gif) no-repeat right 50%;
}
#mainmenu_bottom UL {}
#mainmenu_bottom UL LI {
PADDING-LEFT: 8px;
FLOAT: left;
MARGIN-LEFT: 7px;
HEIGHT: 32px;
}
#mainmenu_bottom UL LI.se {
FLOAT: left;
MARGIN-LEFT: 7px;
HEIGHT: 32px;
PADDING-LEFT: 8px;
BACKGROUND: url(menulink_bg_l.gif) no-repeat;
}
#mainmenu_bottom UL LI A {
COLOR: #fff;
LINE-HEIGHT: 32px;
PADDING-RIGHT: 18px;
DISPLAY: block;
text-decoration: none;
BACKGROUND: url(menulink_bg_normal.gif) no-repeat right 50%;
}
#mainmenu_bottom UL LI A:hover {
BACKGROUND: url(menulink_bg_normal.gif) no-repeat right 50%;
color: #FFCC00;
}
#mainmenu_bottom UL LI A.se {
COLOR: #fff;
LINE-HEIGHT: 32px;
PADDING-RIGHT: 18px;
DISPLAY: block;
BACKGROUND: url(menulink_bg_r.gif) no-repeat right 50%;
}
</style>
<SCRIPT type=text/javascript>
var waitting = 1;
var secondLeft = waitting;
var timer;
var sourceObj;
var number;
function getObject(objectId)//獲取id的函數(shù)
{
if(document.getElementById && document.getElementById(objectId)) {
// W3C DOM
return document.getElementById(objectId);
} else if (document.all && document.all(objectId)) {
// MSIE 4 DOM
return document.all(objectId);
} else if (document.layers && document.layers[objectId]) {
// NN 4 DOM.. note: this won't find nested layers
return document.layers[objectId];
} else {
return false;
}
}
function SetTimer()//主導(dǎo)航時(shí)間延遲的函數(shù)
{
for(j=1; j <10; j++){
if (j == number){
if(getObject("mm"+j)!=false){
getObject("mm"+ number).className = "menuhover";
getObject("mb"+ number).className = "";
}
}
else{
if(getObject("mm"+j)!=false){
getObject("mm"+ j).className = "";
getObject("mb"+ j).className = "hide";
}
}
}
}
function CheckTime()//設(shè)置時(shí)間延遲后
{
secondLeft--;
if ( secondLeft == 0 )
{
clearInterval(timer);
SetTimer();
}
}
function showM(thisobj,Num)//主導(dǎo)航鼠標(biāo)滑過(guò)函數(shù),帶時(shí)間延遲
{
number = Num;
sourceObj = thisobj;
secondLeft = 1;
timer = setTimeout('CheckTime()',100);
}
function OnMouseLeft()//主導(dǎo)航鼠標(biāo)移出函數(shù),清除時(shí)間函數(shù)
{
clearInterval(timer);
}
</SCRIPT>
<!--導(dǎo)航開(kāi)始-->
<DIV id=mainmenu_body>
<!--主導(dǎo)航開(kāi)始-->
<DIV id=mainmenu_top>
<UL>
<LI><A id=mm1 onmouseover=showM(this,1); onmouseout=OnMouseLeft(); href="#" target=_parent>網(wǎng)站首頁(yè)</A> </LI>
<LI><A id=mm2 onmouseover=showM(this,2); onmouseout=OnMouseLeft(); href="#" target=_parent>JS代碼</A> </LI>
<LI><A id=mm3 onmouseover=showM(this,3); onmouseout=OnMouseLeft(); href="#" target=_parent>電子商務(wù)</A> </LI>
<LI><A id=mm4 onmouseover=showM(this,4); onmouseout=OnMouseLeft(); href="#" target=_parent>免費(fèi)模板</A> </LI>
<LI><A id=mm5 onmouseover=showM(this,5); onmouseout=OnMouseLeft(); href="#" target=_parent>建站技巧</A> </LI>
<LI><A id=mm6 onmouseover=showM(this,6); onmouseout=OnMouseLeft(); href="#" target=_parent>CSS技巧</A> </LI>
<LI><A id=mm7 onmouseover=showM(this,7); onmouseout=OnMouseLeft(); href="#" target=_parent>CSS導(dǎo)航菜單</A> </LI>
<LI style="DISPLAY: none"><A id=mm8 onmouseover=showM(this,8); onmouseout=OnMouseLeft(); href="#" target=_parent>網(wǎng)絡(luò)營(yíng)銷(xiāo)</A> </LI>
<LI><A id=mm9 onmouseover=showM(this,9); onmouseout=OnMouseLeft(); href="#" target=_parent>SEO優(yōu)化</A> </LI></UL>
</DIV>
<!--子導(dǎo)航導(dǎo)航開(kāi)始-->
<DIV id=mainmenu_bottom>
<DIV class=mainmenu_rbg>
<UL class=hide id=mb1>
<LI><A href="#">免費(fèi)模板-網(wǎng)頁(yè)模板下載</A> </LI>
<LI><A href="#">網(wǎng)站公告:免費(fèi)模板征集友情鏈接</A> </LI>
</UL>
<UL class=hide id=mb2>
<LI style="DISPLAY: none"><A href="#" target=_parent>免費(fèi)模板</A> </LI>
<LI><A href="#" target=_parent>免費(fèi)模板</A> </LI>
<LI><A href="#" target=_parent>免費(fèi)模板</A> </LI>
<LI><A href="#" target=_parent>免費(fèi)模板</A> </LI>
<LI><A href="#" target=_parent>免費(fèi)模板</A> </LI>
<LI><A href="#" target=_parent>網(wǎng)頁(yè)特效</A> </LI></UL>
<UL class=hide id=mb3>
<LI style="DISPLAY: none"><A href="#" target=_parent>免費(fèi)模板</A> </LI>
<LI style="MARGIN-LEFT: 7px"><A href="#" target=_parent>免費(fèi)模板</A> </LI>
<LI><A href="#" target=_parent>網(wǎng)絡(luò)營(yíng)銷(xiāo)</A> </LI>
<LI><A href="#" target=_parent>網(wǎng)絡(luò)營(yíng)銷(xiāo)</A> </LI>
<LI><A href="#" target=_parent>網(wǎng)絡(luò)營(yíng)銷(xiāo)</A> </LI>
<LI><A href="#" target=_parent>網(wǎng)絡(luò)營(yíng)銷(xiāo)</A> </LI>
<LI><A href="#" target=_parent>網(wǎng)絡(luò)營(yíng)銷(xiāo)</A> </LI>
<LI><A href="#" target=_parent>網(wǎng)頁(yè)特效</A> </LI></UL>
<UL class=hide id=mb4>
<LI style="DISPLAY: none; MARGIN-LEFT: 80px"><A href="#" target=_parent>免費(fèi)模板</A> </LI>
<LI style="MARGIN-LEFT: 80px"><A href="#" target=_parent>網(wǎng)頁(yè)特效</A> </LI>
<LI><A href="#" target=_parent>網(wǎng)絡(luò)營(yíng)銷(xiāo)</A> </LI>
<LI><A href="#" target=_parent>網(wǎng)絡(luò)營(yíng)銷(xiāo)</A> </LI></UL>
<UL class=hide id=mb5>
<LI style="DISPLAY: none"><A href="#" target=_parent>免費(fèi)模板</A> </LI>
<LI style="MARGIN-LEFT: 80px"><A href="#" target=_parent>服務(wù)器租用首頁(yè)</A> </LI>
<LI><A href="#" target=_parent>網(wǎng)絡(luò)營(yíng)銷(xiāo)</A> </LI>
<LI><A href="#" target=_parent>網(wǎng)絡(luò)營(yíng)銷(xiāo)</A> </LI>
<LI><A href="#" target=_parent>超級(jí)機(jī)房</A> </LI>
<LI><A href="#" target=_parent>免費(fèi)模板</A> </LI></UL>
<UL class=hide id=mb6>
<LI style="DISPLAY: none"><A href="#" target=_parent>免費(fèi)模板</A> </LI>
<LI style="MARGIN-LEFT: 160px"><A href="#" target=_parent>免費(fèi)模板</A> </LI>
<LI><A href="#" target=_parent>免費(fèi)模板</A> </LI>
<LI><A href="#" target=_parent>免費(fèi)模板</A> </LI></UL>
<UL class=hide id=mb7>
<LI style="DISPLAY: none"><A href="#" target=_parent>免費(fèi)模板</A> </LI>
<LI style="MARGIN-LEFT: 180px"><A href="#" target=_parent>免費(fèi)模板</A> </LI>
<LI><A href="#" target=_parent>免費(fèi)模板</A> </LI>
<LI><A href="#" target=_parent>個(gè)人建站</A> </LI>
<LI><A href="#" target=_parent>門(mén)戶(hù)建站</A> </LI></UL>
<UL class=hide id=mb8 style="DISPLAY: none">
<LI style="MARGIN-LEFT: 270px"><A href="#" target=_parent>免費(fèi)模板</A> </LI>
<LI><A href="#" target=_parent>網(wǎng)絡(luò)營(yíng)銷(xiāo)</A> </LI>
<LI><A href="#" target=_parent>網(wǎng)絡(luò)營(yíng)銷(xiāo)</A> </LI></UL>
<UL class=hide id=mb9>
<LI style="MARGIN-LEFT: 180px"><A href="/agent/">免費(fèi)模板</A> </LI>
<LI><A href="#" target=_parent>網(wǎng)絡(luò)營(yíng)銷(xiāo)</A> </LI>
<LI><A href="#" target=_parent>網(wǎng)絡(luò)營(yíng)銷(xiāo)</A> </LI>
<LI><A href="#" target=_parent>網(wǎng)絡(luò)營(yíng)銷(xiāo)</A> </LI>
<LI><A href="#" target=_parent>網(wǎng)絡(luò)營(yíng)銷(xiāo)</A> </LI></UL>
<script >
function mmenuURL()//主導(dǎo)航、二級(jí)導(dǎo)航顯示函數(shù)
{
var thisURL = document.URL;
tmpUPage = thisURL.split( "/" );
thisUPage_s = tmpUPage[ tmpUPage.length-2 ];
thisUPage_s= thisUPage_s.toLowerCase();//小寫(xiě)
//thisUPage=thisUPage.substring(0,4)
if(thisUPage_s=="test.hichina.com"||thisUPage_s=="www.net.cn"||thisUPage_s=="www.hichina.com")
{
getObject("mm1").className="menuhover"
getObject("mb1").className = "";
}
else if(thisUPage_s=="domain")
{
getObject("mm2").className="menuhover"
getObject("mb2").className = "";
}
else if(thisUPage_s=="hosting")
{
getObject("mm3").className="menuhover"
getObject("mb3").className = "";
}
else if(thisUPage_s=="mail")
{
getObject("mm4").className="menuhover"
getObject("mb4").className = "";
}
else if(thisUPage_s=="solutions"||thisUPage_s=="site"){
getObject("mm5").className="menuhover"
getObject("mb5").className = "";
}
else if(thisUPage_s=="promotion"){
getObject("mm6").className="menuhover"
getObject("mb6").className = "";
}
else if(thisUPage_s=="trade"||thisUPage_s=="phonetic"||thisUPage_s=="switchboard"||thisUPage_s=="note"){
getObject("mm7").className="menuhover"
getObject("mb7").className = "";
}
else if(thisUPage_s=="benefit"){
getObject("mm8").className="menuhover"
getObject("mb8").className = "";
}
else if(thisUPage_s=="userlogon"||thisUPage_s=="domain_service"||thisUPage_s=="hosting_service"||thisUPage_s=="mail_service"||thisUPage_s=="Payed"||thisUPage_s=="unPayed"||thisUPage_s=="Invoice"||thisUPage_s=="Finance"||thisUPage_s=="RegInfoModify"){
getObject("mm9").className="menuhover"
getObject("mb9").className = "";
}
else
{
getObject("mm1").className="";
getObject("mb1").className = "";
}
}
window.load=mmenuURL()
</script>
</DIV>
</DIV>
</DIV>
</body>
</html></td>
</tr>
</table>
--結(jié)束END--
本文鏈接: http://www.hjcu.cn/resources/navigation/1106.html (轉(zhuǎn)載時(shí)請(qǐng)注明來(lái)源鏈接)
下班PC閱讀不方便?
手機(jī)也可以隨時(shí)學(xué)習(xí)開(kāi)發(fā)

一站式在線(xiàn)建站服務(wù)的平臺(tái)
有效解決您的所有問(wèn)題
專(zhuān)屬客戶(hù)經(jīng)理提供技術(shù)支持
累計(jì)多年口碑和服務(wù)企業(yè)
首頁(yè) | 網(wǎng)絡(luò)營(yíng)銷(xiāo) | 短視頻運(yùn)營(yíng) | 模板中心 | 會(huì)員模板 | 客戶(hù)案例 | 代理加盟 | 幫助中心 | 聯(lián)系我們 | 站長(zhǎng)學(xué)院 | 關(guān)于我們 | 返回頂部
Copyright ? 2013-2026 昆山億思互聯(lián)信息科技有限公司 版權(quán)所有
備案號(hào):蘇ICP備14000568號(hào)-7
蘇公網(wǎng)安備32058302005702號(hào)
關(guān)注
微信
關(guān)注

億搜云平臺(tái)公眾號(hào)
定制
高端
定制
客服
聯(lián)系
客服
工作時(shí)間:
周一至周五: 09:00 - 17:00
WAP
手機(jī)
訪(fǎng)問(wèn)

億搜云平臺(tái)手機(jī)端
反饋
用戶(hù)
反饋









