Beautiful horizontal navigation menus for enterprise sites

Source: Internet
Author: User

<! Doctype HTML public "-// W3C // dtd html 4.01 transitional // en"
Http://www.w3.org/TR/html4/loose.dtd>
<HTML>
<Head>
<Meta http-equiv = "Content-Type" content = "text/html; charset = gb2312">
<Title> enterprise sites often use beautiful horizontal navigation menus and sky-based sorting and collection. </Title>
</Head>
<Style type = "text/CSS">
# Dnavbar {
Background-color: # ffffff;
}
# Dnavbar Li {
List-style-type: none;
Float: left;
Width: 85px;
Height: 28px;
Line-Height: 28px;
Font-size: 12px;
Color: # ffffff;
Border: 3px solid # ffffff;
Background-color: #8d8ea2;
Text-align: center;
Display: block;
Cursor: pointer;
}
# Submenu {
Background-color: #666688;
Width: 621px;
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 inipage ()
{
VaR barctt = Document. getelementbyid ("dnavbar ")
VaR liarr = barctt. getelementsbytagname ("Li ")
VaR links = new array ()
Links [0] = "<a href = 'HTTP: // zzjs.net/'> homepage </a> <a href = 'HTTP: // zzjs.net/'> message book </a>"
Links [1] = "<a href = 'HTTP: // zzjs.net /? Cat = 1 '> zzjs </a> <a href = 'HTTP: // zzjs.net/'> message book </a> <a href = 'HTTP: // zzjs.net /? Cat = 2'> Custom </a> <a href = '#'> Project 4 </a>"
Links [2] = "<a href = 'HTTP: // zzjs.net /? Cat = 3'> Custom </a> <a href = 'HTTP: // zzjs.net /? Cat = 2'> Custom </a> <a href = 'HTTP: // zzjs.net /? Cat = 2'> Custom </a>"
Links [3] = "<a href = 'HTTP: // zzjs.net /? Cat = 3'> Custom </a> <a href = 'HTTP: // zzjs.net /? Cat = 2'> Custom </a> <a href = 'HTTP: // zzjs.net /? Cat = 2'> Custom </a> <a href = '#'> Project 4 </a> <a href = '#'> Project 5 </a>"
Links [4] = "<a href = 'HTTP: // zzjs.net /? Cat = 1'> Custom </a> <a href = 'HTTP: // zzjs.net /? Cat = 1'> Custom </a>"
Links [5] = "<a href = 'HTTP: // zzjs.net /? Cat = 2'> Custom </a> <a href = 'HTTP: // zzjs.net /? Cat = 2'> Custom </a> <a href = 'HTTP: // zzjs.net /? Cat = 2'> Custom </a>"
Links [6] = "<a href = 'HTTP: // zzjs.net /? Cat = 2'> Custom </a> <a href = 'HTTP: // zzjs.net /? Cat = 2'> Custom </a>"
For (I = 0; I <liarr. length; I ++)
{// Welcome to the special effect website of webmaster. Our website is www.zzjs.net. It is very memorable. ZZ webmaster and JS are JS special effects. This site collects a large number of high-quality JS codes and downloads many advertisement codes.
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 = "#8d8ea2 ";
Allli [I]. style. Height = "28px ";
If (indexobj = allli [I])
{
Index = I;
}
} // Welcome to the special effect website of webmaster. Our website is www.zzjs.net. It is a good note. ZZ webmaster and JS are JS special effects. This site collects a large number of high-quality JS codes and downloads many advertisement codes.
Indexobj. style. borderbottom = "0px solid #666688 ";
Indexobj. style. backgroundcolor = "#666688 ";
Indexobj. style. Height = "31px ";
Document. getelementbyid ("submenu"). innerhtml = infoarr [Index];
}
</SCRIPT>
<Body onload = "inipage ()">
<A href = "<# zc_blog_host #>"> special effect website for webmasters </a> provides high-quality webpage special effects and advertisement codes for webmasters. Zzjs.net, special JS effects for webmasters. <HR>
<! -- Welcome to the special effect website of webmaster. Our website collects a large number of high-quality JS special effects and provides a lot of advertisement code downloads. Website: www.zzjs.net, [email protected], and uses. Net to build a beautiful website. -->
<Div id = "dnavbar"> <li> website homepage </LI> <li> webmaster effect </LI> <li> webpage effect </LI> <li> advertisement code </LI>
<Li> Custom </LI>
</Div>
<Div style = "float: none; Height: 34px;"> </div>
<Div id = "submenu"> </div>
</Body>
</Html>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.