I am very new to Drupal (meaning I'm still learning the teminology and have almost no knowledge of editing themes), and I want to use a drupal theme with a Javascript menu. The code I want to use is very similar to this: http://dynamicdrive.com/dynamicindex1/switchmenu.htm

The theme I was planning on using is the bluemarinephp theme, as it seems to be easier to taylor to my personal needs than others. I mainly would like to know the best way to go about adding this sort of functionality. I would reall appreciate any help anyone could offer.

Thanks.

Comments

aquaseal’s picture

You would have to edit the menu.module file or use another module to implement this. The Nice Menu module provides a menu that has a css file that you can edit. Hopefully this helps. Also, I am using the 4.7 version so hopefully the nice menu module with the nifty javascript still works for the version your using.

q0rban’s picture

EDIT.. sorry, I don't know how I missed that you said the same thing above...

Check out the Nice Menus module... It might be a place to start, anyways...

cheers

AwoL’s picture

Merlin actually worked out this problem. He posted a blog on his website here:

http://www.angrydonuts.com/article/collapsing_menus

I hope this helps someone else. Thanks for your replies.

Sam308’s picture

AwoL:

Take a look at the Drupal Theme Generator utility (it's FREE) because it already has the traditional type Drop-down JavaScript menus integrated into the themes. You could modify the program to fit your needs.

Click on the link below to see a sample theme using traditional Drop-down JavaScript menus:
Sample Theme

Currently the programs supports a maximum total of 110 Drop-down menu items.

Get the Utility here, it's FREE:
Drupal Theme Generator

Sam Raheb (Sam308)

AwoL’s picture

Thanks a lot, I'll take a look at that. It's nice to have a backup plan.