I would love to add this collapsible menu to my site:
http://www.ladolcevitae.co.uk
And found the code to add but don't know where to add it, please can someone help---thanks,
Mark
---------This is the code----
// First we hide all exhibitis $("#menu ul li.section-title").nextAll().hide();
// then the active exhibit is showed
$("#menu ul").each(function()
{
$(this).find("li.active").prevAll().nextAll().show();
});
// This is the toggle function
// first it hides all sections
$("#menu ul li.section-title").click(function()
{
$("#menu ul li.section-title").nextAll().hide();
$(this).nextAll().slideToggle("fast");
});