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?
--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
updated by @ultrajam: 07/06/14 02:37:34PM