View Full Version : Drop down menu

01-15-2012, 10:59 AM
1) Script Title: All Menu generator

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddlevelsmenu/generator.htm

3) Describe problem: How do I add hyperlinks to my drop down lists on my drop down menu.

Please help. I don't know much code. I have got my menu working nicely but how do I add hyperlinks to my drop down lists on my menu?

I also want to restyle the lists to fit in with my website. How do I do it?
I have managed to style the top bar with CSS but how do I restyle the drop down lists. As I want to change the background colour and the font.


01-15-2012, 12:01 PM
Where you have stuff like (from Step 3 on the demo page):

<!--Top Drop Down Menu 1 HTML-->

<ul id="ddsubmenu1" class="ddsubmenustyle">
<li><a href="#">Item 1a</a></li>
<li><a href="#">Item 2a</a></li>
<li><a href="#">Item Folder 3a</a>
<li><a href="#">Sub Item 3.1a</a></li>
<li><a href="#">Sub Item 3.2a</a></li>
<li><a href="#">Sub Item 3 . . .

Change the href attributes to your own, and the texts as well. For example:

<li><a href="#">Item 1a</a></li>

could become:

<li><a href="news.htm">News</a></li>

You can of course add or remove li items and/or whole ul blocks as needed.