开发者

Joomla nested ul menu

开发者 https://www.devze.com 2023-01-14 09:20 出处:网络
everyone! What I\'m trying to do is to get Joomla! to desplay the menu items in a nested ul menu, like this:

everyone! What I'm trying to do is to get Joomla! to desplay the menu items in a nested ul menu, like this:

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号