Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6

Thread: navigation help

  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Posts
    138
    Thanks
    0
    Thanked 0 Times in 0 Posts

    navigation help

    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
    Move on....

  • #2
    New Coder
    Join Date
    Aug 2003
    Posts
    87
    Thanks
    0
    Thanked 1 Time in 1 Post
    I don't know what is to like about that site navigation, but if you do, I suppose you could contact the Webmaster.
    Neno

  • #3
    New to the CF scene
    Join Date
    Sep 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    RE: NaviScript

    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.

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Here is an example I coded. Good luck.
    Code:
    <!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>
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #5
    Regular Coder
    Join Date
    Jun 2002
    Posts
    138
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by _Aerospace_Eng_
    Here is an example I coded. Good luck.
    Code:
    <!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
    Move on....

  • #6
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    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.
    ||||If you are getting paid to do a job, don't ask for help on it!||||


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •