everyone! What I'm trying to do is to get Joomla! to desplay the menu items in a nested ul menu, like this:
- Item
- Subitem
- Item2
-
开发者_StackOverflow
- Subitem2
- Sub Subitem
- Subitem2
currently I'm using a custom HTML for this, I've written a custom jquery script for this accordion and I'd like to use it with the Joomla's menu system. I've also downloaded Extended Menu module. Please let me know of any ideas. P.S forgot to say that I don't want to create a dropdown menu that works on hover. My menu should slide down on .click()
You are in luck. The standard Joomla mod_mainmenu module builds menus exactly like that. You can basically take the entire module, add some IDs and classes to suit your accordion code and add in the JS to have a fully functioning menu with minimal effort. Just to be sure, I moved some menu items around on one of my demo sites. Take a look at the Resources menu here - http://www.internextion.com/
That is a basic Joomla menu module with the items nested as you illustrated.
精彩评论