Hi,
I guess what I want to do is going to be a bit difficult.
Lets say I have a menu, sub menu structure like
Fauna / Birds / Sea Birds / Gulls / Black-backed Gull
.................../ Land Birds / Passerines / Fimches / Goldfinch
.................../ Waders Knots / Great Knot
With similar other menus, subs etc under Fauna, Insects for instance.
Is it possible to have the menu collapsed in it's base state.
You click on Fauna and it opens out to Birds and Insects, click on Birds and Sea Birds, Land Birds and Waders open out ?
I'm guessing the menus are html lists so there is probably no native support for this ?
Is there any plugin that has been written to do this ?
I'm guessing I'll have to do this myself using jQuery or similar.
While I know I shouldn't muck with the core code where is the code (function?) stored that creates the menu ?
I'll have a look and see where I go from there.
Thanks and any thought appreciated.
Comments
There are two plugins you could use:
print_album_menu
- Creates a menu based on your album structure.
- Set the plugin option "List" subalbum level to the desired sub-level depth.
- Put `<?php printAlbumMenu(); ?>` in your theme page(s) where you want the menu to appear.
http://www.zenphoto.org/documentation/plugins/_zp-extensions---print_album_menu.php.html#functionprintAlbumMenu
- Use CSS to style it.
menu_manager
- A sophisticated plugin to create any menu you like.
- Combine albums, pages, news, categories, custom HTML in one menu.
At present I'm using the jump menu
printAlbumMenuJump('count',gettext('Gallery Index'));
That's what I am trying to add the dynamic functionality to.
Currently I have 880 albums and with this new build will be over 1200.
They all come from 5 top level albums and are sub, subsub, subsubsub etc
That is why I want the menu to collapse back up the sub albums.
Will have a play with css and jQuery and see if I can work something out.