de wrote:
For this you will probably have to use a patTemplate file (menu.html)...
Have a look there:
http://de.siteof.de/extended-menu-templates.htmlThe menu template puts an element with the "expanded" class around it... which is styled for sub menu items (like Moslate->howtos)... but could be styled in the same way for main level menu items (like it is for my site template).
You could combine the CSS+JS mentioned here with the menu.html+expanded styling of the menu templates you will find on my site.
I have read and followed this tutorial and had great success. It is right on the money. I notice Barrie ("compass") didn't use the "menu.html" file in his tutorial and that was because he styled the output of the extended menu module with his own CSS without needing special considerations coded into the UL's and LI's.
You can see my results at:
http://www.debt-option.net. Hover over the FAQ's link for the dropdowns.
The only other thing I would like to do is be able to add an "arrow" graphic to the background of the hovered links when there are children documents available, such as when you hover over "FAQ's", you see the list "FAQ1, FAQ2, FAQ3" come up. If you hover over "FAQ1" you can see the list of children documents come up, but it would be nice to put the "arrow" graphic in the background of "FAQ1" when hovering over the parent "FAQ's" so you would know there are sub-documents there.
I see where Daniel accomplished this using the Suckerfish horizontal files, which introduces another level of Javascript code to your site, and probably with a modified "menu.html" file to tag the populated parent documents with an "extended" class. I take it there is no other way than use the Suckerfish method, the associated Javascript and a modified "menu.html"? I liked the simplicity of what Barrie did -- I only wished there were a way to build on that simplicity and not introduce more code just to define an "extended" class.
Thoughts? Daniel? Barrie?