PDA

View Full Version : drop down menu


greychops
04-23-2008, 11:35 AM
Hello,
I use the simple template and I am trying to turn one of the links in the navigation bar into a drop down menu. Do I have to turn all the links in the nav bar into an unordered list or can I create an unordered list under the one link that I want to do that to. I have been having trouble with this. I cannot seem to make the second level choices dissappear. Any help would be great.Thanks,
Jonathan

kevincrafts
04-24-2008, 12:48 AM
The best way is a nested unordered list:

<ul>
<li><a href="#">link</a>
<ul>
<li><a href="#">link</a></li>
</ul>
</li>
</ul>

You can do this with css but IE 6 and below won't work so you can use a javascript solution as well. I think one of the more popular ones is the suckerfish method (http://www.pixelpost.org/forum/showthread.php?t=7901&highlight=width).