<html>
<head>
<meta HTTP-equiv="Content-Type" content="text/html; charset=gb2312">
<title>高仿藍色理想網站的導航功能表</title>
</head>
<style type="text/css">
#dNavBar{
background-color:#ffffff;
}
#dNavBar li{
list-style-type:none;
float:left;
width:84px;
height:28px;
line-height:28px;
font-size:12px;
color:#FFFFFF;
border:3px solid #ffffff;
background-color:#86C2FF;
text-align:center;
display:block;
cursor:pointer;
}
#subMenu{
background-color:#0000FF;
width:500px;
border-left:3px solid #ffffff;
border-right:3px solid #ffffff;
height:29px;
line-height:29px;
color:#FFFFFF;
font-size:12px;
padding-left:10px;
}
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
a:link {
color: #FFFFFF;
text-decoration: none;
}
a:hover{
color: #FFFFFF;
text-decoration: none;
}
a:visited{
color: #FFFFFF;
text-decoration: none;
}
</style>
<script language="javascript">
function ShowMenu()
{
var barCTT=document.getElementById("dNavBar")
var liArr=barCTT.getElementsByTagName("li")
var links=new Array()
links[0]="<a href=HTTP://www.jzread.com>當前位置:首頁"
links[1]="<a href=HTTP://www.jzread.com>專案一</a> | <a href=HTTP://www.jzread.com>專案二</a> | <a href=HTTP://www.jzread.com>專案三</a> | <a href=HTTP://www.jzread.com>專案四</a>"
links[2]="<a href=HTTP://www.jzread.com>專案一</a> | <a href=HTTP://www.jzread.com>專案二</a> | <a href=HTTP://www.jzread.com>專案三</a>"
links[3]="<a href=HTTP://www.jzread.com>專案一</a> | <a href=HTTP://www.jzread.com>專案二</a> | <a href=HTTP://www.jzread.com>專案三</a> | <a href=HTTP://www.jzread.com>專案四</a> | <a href=HTTP://www.jzread.com>專案五</a>"
links[4]="<a href=HTTP://www.jzread.com>專案一</a> | <a href=HTTP://www.jzread.com>專案二</a>"
links[5]="<a href=HTTP://www.jzread.com>專案一</a> | <a href=HTTP://www.jzread.com>專案二</a> | <a href=HTTP://www.jzread.com>專案三</a>"
links[6]="<a href=HTTP://www.jzread.com>專案一</a> | <a href=HTTP://www.jzread.com>專案二</a>"
links[7]="<a href=HTTP://www.jzread.com>專案一</a> | <a href=HTTP://www.jzread.com>專案二</a>"
links[8]="<a href=HTTP://www.jzread.com>專案一</a> | <a href=HTTP://www.jzread.com>專案二</a>"
links[9]="<a href=HTTP://www.jzread.com>專案一</a> | <a href=HTTP://www.jzread.com>專案二</a>"
links[10]="<a href=HTTP://www.jzread.com>專案一</a>| <a href=HTTP://www.jzread.com>專案二</a>"
links[11]="<a href=HTTP://www.jzread.com>專案一</a> | <a href=HTTP://www.jzread.com>專案二</a>"
links[12]="<a href=HTTP://www.jzread.com>專案一</a> | <a href=HTTP://www.jzread.com>專案二</a>"
for (i=0;i<liArr.length;i++)
{
liArr[i].onclick=function()
{
selectThis(this,liArr,links)
}
}
}
function selectThis(indexObj,allLi,infoArr)
{
var index=0;
for (i=0;i<allLi.length;i++)
{
allLi[i].style.border="3px solid #ffffff";
allLi[i].style.backgroundColor="#86C2FF";
allLi[i].style.height="28px";
if (indexObj==allLi[i])
{
index=i;
}
}
indexObj.style.borderBottom="0px solid #666688";
indexObj.style.backgroundColor="#0000FF";
indexObj.style.height="31px";
document.getElementById("subMenu").innerHTML=infoArr[index];
}
</script>
<body onLoad="ShowMenu()">
<div id="dNavBar" style="float:none; width:560px;" ><li>首頁</li><li>娛樂快報</li><li>音樂天地</li><li>極品FLASH</li>
</div>
<div id="subMenu">站務公告</div>
</body>
</html>