I am having trouble getting the two dropdowns under Facility and Contact Us to drop down... see link below... the first drop down works fine (under Services) Please help! Thanks in advance.



All your menus have the same id - id="menu" .

Whereas a class can be repeated as many times as you want, ids must be unique to be useful.

Try making each menu id unique, then duplicate the code :

var menu=new menu.dd("menu");

replacing "menu" with your unique ids for Services, Facilities and Contact Us.

That should fix it.


Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.