CSS Library: Horizontal CSS Menus: Here
Two level CSS Tabs menu
Author: Dynamic Drive
Building on a regular CSS Tabs Menu, this CSS menu supports second level content that can be associated with specific tabs. By giving both a tab and the desired sub content a class of "selected", the sub content becomes visible on the page.
Demo:
The CSS:
Got a question or need help customizing this CSS code? Post it in the CSS Forums. If you have a comment or suggestion instead, post it in the comments section below.
Comment Pages 3 of 4 pages < 1 2 3 4 >
Nice. I like it, but I would rather have it work with nested lists. Then, you're making even better semantically marked up code.
I think it's possible to fix it.
HTML:
<ul>
<li>Level One Item One</li>
<li>Level One Item Two</li>
<ul>
<li>Level Two Item One</li>
<li>Level Two Item Two</li>
<li>Level Two Item Three</li>
</ul>
</li>
<ul>
Then, with CSS, replace all:
#tabcontent
with:
li ul
I didn't actually test it out. To be honest I'm too lazy and busy right now, but you can review how it's done on CSS MaxDesign's Listamatic2
I think it's possible to fix it.
HTML:
<ul>
<li>Level One Item One</li>
<li>Level One Item Two</li>
<ul>
<li>Level Two Item One</li>
<li>Level Two Item Two</li>
<li>Level Two Item Three</li>
</ul>
</li>
<ul>
Then, with CSS, replace all:
#tabcontent
with:
li ul
I didn't actually test it out. To be honest I'm too lazy and busy right now, but you can review how it's done on CSS MaxDesign's Listamatic2
This horizontal expansions of the main tabs has the big advantage over the normal drop down type of expansions in that it does not hide the main text of the page when it is hovered over by the viewer.I also like the simplicity of manufacturing a site with this menu.
The Two level CSS Tabs menu code is great. I am having a problem showing the submenus from the other tabs. Any help with this is greatly appreciated
Your site is awesome. I love it. I'm always there looking for new stuff to use. I can not tell you in words how much I appreciate you guys. I have linked to your website in 3 different pages of my website.
I'm in love with your Horizontal DD Color Tabs & it is beautiful.(the one that you are using in your own website).
Are you going to make a two level version of this DD Color Tabs in the near future? I would like to use two level version of your DD Color Tabs in my HomePage when it become available.
Thanks a lot,
Bill Dean
I'm in love with your Horizontal DD Color Tabs & it is beautiful.(the one that you are using in your own website).
Are you going to make a two level version of this DD Color Tabs in the near future? I would like to use two level version of your DD Color Tabs in my HomePage when it become available.
Thanks a lot,
Bill Dean
Outstanding...Simply outstanding!
'cmon people. really...
THE SUBMENU WILL NEVER CHANGE ON A STATIC PAGE!
If you want to see the other submenu, create another html file and modifiy the <ul class="selected"> and <li class="selected"> properties to indicate that you are now on a different page.
You can do this thru javascript, hardcoding it into the new page or change it when your backend code generates a new page.'
(jeez)
THE SUBMENU WILL NEVER CHANGE ON A STATIC PAGE!
If you want to see the other submenu, create another html file and modifiy the <ul class="selected"> and <li class="selected"> properties to indicate that you are now on a different page.
You can do this thru javascript, hardcoding it into the new page or change it when your backend code generates a new page.'
(jeez)
I would do this differently, but nice example nonetheless.
this is hard coded poor code, please go read your books and examples before posting it here like a good thing.
Dosn't go into very much detail just the code, this dosn't keep me on the page very long...
http://www.becomon.com
Commenting is not available in this weblog entry.
http://www.becomon.com


A note to complainers:
I don't why you complain you idiots, it's FREE.
ooh I don't like the colors
What the #@$K, then change them you idiot.
If you can't make it then you would break it huh.
Enough Said!