PDA

View Full Version : How To Add Child to DD Color Tabs



scottdev
07-10-2009, 02:46 PM
1) Script Title: DD Color Tabs

2) Script URL (on DD): http://www.dynamicdrive.com/style/csslibrary/item/dd-color-tabs/

3) Describe problem:

Possibly I missed a post on how to do this - if so sorry for the double post. I searched and couldn't find one.

I would like to add child elements to display subcats. I'm learning css, so I have the html down I believe, but don't know how to code the css to display the subcats.



<div id="">
<ul>
<li>
<a href="#">Menu Item 1</a>
<ul>
<li>sub menu item 1</li>
<li>sub menu item 2</li>
<li>sub menu item 3</li>
<li>sub menu item 4</li>
</ul>
</li>

<li>
<a href="#">Menu Item 2</a>
<ul>
<li>sub menu item 1</li>
<li>sub menu item 2</li>
<li>sub menu item 3</li>
<li>sub menu item 4</li>
</ul>
</li>

<li>
<a href="#">Menu Item 3</a>
<ul>
<li>sub menu item 1</li>
<li>sub menu item 2</li>
<li>sub menu item 3</li>
<li>sub menu item 4</li>
</ul>
</li>

<li>
<a href="#">Menu Item 4</a>
<ul>
<li>sub menu item 1</li>
<li>sub menu item 2</li>
<li>sub menu item 3</li>
<li>sub menu item 4</li>
</ul>
</li>
</ul>
</div>

ddadmin
07-11-2009, 05:09 PM
Check out: http://www.dynamicdrive.com/dynamicindex1/droptabmenu.htm