Vertical multilevel sliding menu
Hi, I'm a php html-css developer and new to jquery. Im looking for a menu like this from Stu Nicholls:
http://www.stunicholls.com/menu/jquery-slide-1.html#url
But, my Goal is to have more than one level. Is it possible to change this Script in a easy way for multilevels?
-
$(document).ready(function(){
if($("#nav")) {
$("#nav dd").hide();
$("#nav dt b").click(function() {
if(this.className.indexOf("clicked") != -1) {
$(this).parent().next().slideUp(200);
$(this).removeClass("clicked");
}
else {
$("#nav dt b").removeClass();
$(this).addClass("clicked");
$("#nav dd:visible").slideUp(200);
$(this).parent().next().slideDown(500);
}
return false;
});
}
});
thanks a lot