aquanuke Posted June 1, 2011 Share Posted June 1, 2011 Hi I have some code to do a drop down menu. The example I have shows 6 headings with the first one also with the drop down portion. I want to also have the other 5 headings with drop down, but dont know what the other 5 should be set as. This is the example I have... <div class="nav-container"> <ul id="nav"> <li class="level0 nav-1 level-top first parent"> <a href="viewsearch.php?query=Computer" class="level-top"> <span>Computers</span> </a> <ul class="level0"> <li class="level1 nav-1-1 first"> <a href="viewsearch.php?query=desktop"> <span>desktops</span> </a> </li><li class="level1 nav-1-2"> <a href="viewsearch.php?query=Laptop"> <span>Laptops & Notebooks</span> </a> </li><li class="level1 nav-1-3 last"> <a href="viewsearch.php?query=Netbook"> <span>Netbook</span> </a> </li> </ul> </li><li class="level0 nav-2 level-top"> <a href="viewsearch.php?query=office" class="level-top"> <span>office</span> </a> </li><li class="level0 nav-3 level-top"> <a href="viewsearch.php?query=plasma+television" class="level-top"> <span>tv`s</span> </a> </li><li class="level0 nav-4 level-top"> <a href="viewsearch.php?query=audio+player" class="level-top"> <span>sound device</span> </a> </li><li class="level0 nav-5 level-top"> <a href="viewsearch.php?query=home+theater" class="level-top"> <span>home theater systems</span> </a> </li><li class="level0 nav-6 level-top last"> <a href="viewsearch.php?query=Accessories" class="level-top"> <span>Accessories</span> </a> </li> </ul> </div> Link to comment https://forums.phpfreaks.com/topic/238048-css-drop-down-menu-help/ Share on other sites More sharing options...
Hybride Posted June 1, 2011 Share Posted June 1, 2011 What do you mean "what the other 5 should be set as"? If you want the other 5 to do as the same 1st one, why don't you just copy the layout/style/code of the first heading under the other ones? Link to comment https://forums.phpfreaks.com/topic/238048-css-drop-down-menu-help/#findComment-1223279 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.