Hello.
Just discovered the new nice feature in wordpress, widget custom menu.
I’m currently making my own theme and have correctly registred the widget sidebar.
The menu is working fine, except that all sub-menu’s is expanded.
Then my 1000 dollar question:
How do i hide the sub-menus, and then expand them when the menu related to the submenu is clicked? The
has a sub-menu class, so i guess the easiest way is Jquery? The markup looks like this:
Home
Gallery
– 2012
– 2011
Sponsors & partners
– 2012
– 2011
Contact
Regards, Simon