Submit your widget

useful Tabbed Menu with jQuery

Created 11 years ago   Views 44270   downloads 11702    Author paulund
useful Tabbed Menu with jQuery
View DemoDownload
Share |

We are going to use the HTML element list to display the menu and the drop down.

Each of the top level menus are in their own list items and the drop down menus are lists placed inside the list items.

        <li><a href="">Home</a></li>
        <li><a href="">Community</a>
                <li><a href="">Recent Activity</a></li>
                <li><a href="">Member Forum</a></li>
                <li><a href="">Member List</a></li>
                <li><a href="">Member Groups</a></li>
        <li><a href="">Pet Help</a>
                <li><a href="">Vets</a></li>
                <li><a href="">Hospital</a></li>
                <li><a href="">Insurance</a></li>
                <li><a href="">Service</a></li>
        <li><a href="">Pets For Sale</a></li>
        <li><a href="">Pets Services</a></li>


First we need to style the nav tag which is what we are going to place everything inside.

nav {
     font-family: arial, sans-serif;
     position: relative;
     margin: 0px auto;

The nav tag needs to have a position of relative so that we can position the drop down menu under the list item.

nav ul {
     list-style-type: none;
     border-bottom:4px solid #FFF;
     margin: 0;

Read more: