Clicking Drop Down Menus

Joined: 02/27/2009

Hi all! I've been trying to come up with a solution to implement a clickable drop down menu system for a site. Something similar to Nice Menus but I do not want hover to do anything, I only want the levels to expand on click. I can't believe that this is not something that has been put into a module before. Basically what I want is something like the menus on digg.com . Does anyone have any ideas on modules for this or should I just start writing my own js now? lol

G&G Podcast Host
Rob Feature's picture
Joined: 06/01/2006
Modify!

If you use a jquery menu solution of some kind (there are other ones besides nice menus, which is primarily CSS driven), you should be able to alter a couple lines of .js and you'll be done. All you need to do is change any hover actions to onclick actions. At least that's my initial thought.

You may want to check out the code in this one as a starting point (especially if you're on D5).

Good luck!

-Rob Feature
Geeks and God Co-Host
www.mustardseedmedia.com

G&G Podcast Host
Matt Farina's picture
Joined: 06/01/2006
custom work

I would take something like superfish for jQuery, fork it or patch it with an option for clicking rather than hover.

That will give you the most features in the easiest package.

Matt Farina
Geeks and God Former Co-Host
www.mattfarina.com