jrElastic accordion
Design and Skin Customization
As far as I know its just jquery, not a separate script.
This does it in the acp for a definition list with the class "accordion" (needs to be the same structure as the acp dl):
<script type="text/javascript">
$(document).ready(function(){
(function($) { var allPanels = $('.accordion > dd[id!="ccore"]').hide();
$('.accordion > a > dt').click(function() {
allPanels.slideUp();
$(this).parent().next().slideDown();
return false; }); })(jQuery);
return true;
});
</script>You'd need to add that jquery either into the template, or via a module or skin. If you don't wnat to use the same structure, change the selectors and adjust the js to suit.
Can you post the structure of the menu you want to use?
updated by @ultrajam: 07/06/14 02:37:34PM