I’ve been looking around for a couple of hours for a 3 level vertical accordion menu. Something like this: http://sandbox.scriptiny.com/javascript-accordion/index.html
Something really simple is enough, but i cant get anything to work with 3 levels. Can anyone provide me with a jquery snippet to get me started? I’ve tried using
$('li').click(function(){
$(this).children('ul').children('li').toggle();
});
but it hides the submenu as well, not just the current childrens. Thanks
example from scratch:
demo: http://jsfiddle.net/aCaEG/