...

View Full Version : navigation help



kab_184
09-03-2005, 11:46 AM
hi
can any one help me on this.i liked the navigation menu on thsi site on the top..

http://www.vnunet.com/

does any one know where can i find script like this to be exact..

thanx

Neno
09-03-2005, 04:26 PM
I don't know what is to like about that site navigation, but if you do, I suppose you could contact the Webmaster.

jusCk
09-04-2005, 09:30 AM
I'm Extremely New to posting in Forums, soo, I'm not sure of the protocols regarding this, but have ya right-clicked, --->"View Source"? then ya just check out how it's put together and write up yer own. I've seen that peticular type of NaviMenu on Many Sites.

_Aerospace_Eng_
09-04-2005, 09:57 AM
Here is an example I coded. Good luck.

<!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=iso-8859-1">
<title>CSS Tabs Menu</title>
<style type="text/css">
html, body {
margin:0;
padding:0;
background:#CCC;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:11px;
color:#FFF;
}
a, a:link, a:visited, a:active {
color:#FFF;
text-decoration:underline;
}
a:hover {
text-decoration:none;
}
#container {
width:616px;
margin:auto;
}
#menu ul {
margin:0 0 0 20px;
padding:0;
list-style:none;
}
#menu ul li {
float:left;
display:inline;
}
#submenu {
background:#009933;
height:18px;
line-height:18px;
clear:both;
border:1px solid #000;
position:relative;
z-index:1;
padding-left:10px;
}
a.active, a.active:link, a.active:visited, a.active:active {
display:block;
width:73px;
height:24px;
line-height:24px;
border:1px solid #000;
border-bottom:0;
background:#009933;
margin:0 1px;
color:#FFF;
text-decoration:none;
text-align:center;
position:relative;
top:1px;
z-index:2;
}
a.active:hover {
text-decoration:underline;
}
a.non-active, a.non-active:link, a.non-active:visited, a.non-active:active {
display:block;
width:73px;
height:24px;
border:1px solid #000;
border-bottom:0;
background:#008000;
margin:0 1px;
color:#CCC;
text-decoration:none;
text-align:center;
line-height:24px;
position:relative;
top:1px;
z-index:0;
}
a.non-active:hover {
background:#000099;
text-decoration:underline;
}
</style>
</head>

<body>
<div id="container">
<div id="menu">
<ul>
<li><a href="#" class="active">Active Link</a></li>
<li><a href="#" class="non-active">Link 2</a></li>
<li><a href="#" class="non-active">Link 3</a></li>
<li><a href="#" class="non-active">Link 4</a></li>
<li><a href="#" class="non-active">Link 5</a></li>
<li><a href="#" class="non-active">Link 6</a></li>
</ul>
</div>
<div id="submenu"><a href="#">Sub Link 1</a> | <a href="#">Sub Link 2</a> | <a href="#">Sub Link 3</a> | <a href="#">Sub Link 4</a> | <a href="#">Sub Link 5</a></div>
</div>
</body>
</html>

kab_184
09-04-2005, 12:51 PM
Here is an example I coded. Good luck.

<!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=iso-8859-1">
<title>CSS Tabs Menu</title>
<style type="text/css">
html, body {
margin:0;
padding:0;
background:#CCC;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:11px;
color:#FFF;
}
a, a:link, a:visited, a:active {
color:#FFF;
text-decoration:underline;
}
a:hover {
text-decoration:none;
}
#container {
width:616px;
margin:auto;
}
#menu ul {
margin:0 0 0 20px;
padding:0;
list-style:none;
}
#menu ul li {
float:left;
display:inline;
}
#submenu {
background:#009933;
height:18px;
line-height:18px;
clear:both;
border:1px solid #000;
position:relative;
z-index:1;
padding-left:10px;
}
a.active, a.active:link, a.active:visited, a.active:active {
display:block;
width:73px;
height:24px;
line-height:24px;
border:1px solid #000;
border-bottom:0;
background:#009933;
margin:0 1px;
color:#FFF;
text-decoration:none;
text-align:center;
position:relative;
top:1px;
z-index:2;
}
a.active:hover {
text-decoration:underline;
}
a.non-active, a.non-active:link, a.non-active:visited, a.non-active:active {
display:block;
width:73px;
height:24px;
border:1px solid #000;
border-bottom:0;
background:#008000;
margin:0 1px;
color:#CCC;
text-decoration:none;
text-align:center;
line-height:24px;
position:relative;
top:1px;
z-index:0;
}
a.non-active:hover {
background:#000099;
text-decoration:underline;
}
</style>
</head>

<body>
<div id="container">
<div id="menu">
<ul>
<li><a href="#" class="active">Active Link</a></li>
<li><a href="#" class="non-active">Link 2</a></li>
<li><a href="#" class="non-active">Link 3</a></li>
<li><a href="#" class="non-active">Link 4</a></li>
<li><a href="#" class="non-active">Link 5</a></li>
<li><a href="#" class="non-active">Link 6</a></li>
</ul>
</div>
<div id="submenu"><a href="#">Sub Link 1</a> | <a href="#">Sub Link 2</a> | <a href="#">Sub Link 3</a> | <a href="#">Sub Link 4</a> | <a href="#">Sub Link 5</a></div>
</div>
</body>
</html>

thanks alot aero..

well the menu is if u see catergory based ,so
a large number of links can be catergorized and links from certain category can be called one at a time ..so 25 links can be summed under 5 main catergories..
if u get what i mean..;)

regards

_Aerospace_Eng_
09-04-2005, 06:45 PM
I knew that, I just gave you an example. All you have to do is change the class of the link that refers to the page that the user is on to "active" and it will get the necessary formatting. In which case you would need to change the links in the subnav as well.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum