		//close other dropdowns if opened

				if (setting.slideUpOther == true) {

					$(".menu-items").not(thisMenu).slideUp();
					$(".dropdown-heading").not(this).removeClass("active");
				}

			});


			$(".parent").on("click", function () {

				var subMenu = $(this).siblings("ul");

				$(subMenu).slideToggle();

				var thisList = $(subMenu).children("li");

				for (var i = 0; i < thisList.length; i++) {

					$(thisList).eq(i).addClass("animated" + " " + setting.subListAnimation)