By AwoL on
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
To the best of my knowledge
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.
Not exactly what you want, but....
EDIT.. sorry, I don't know how I missed that you said the same thing above...
Found a fix
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.
Try this - Themes already using Drop-down JavaScript Menus
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)
Thanks!
Thanks a lot, I'll take a look at that. It's nice to have a backup plan.