template.conf.sit_javaee6.mockup.js.menu.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sit-ad Show documentation
Show all versions of sit-ad Show documentation
SIToolkit for Application Develepment
The newest version!
$(function() {
$("#menu").find("li ul").hide();
$("#menu").find("li:has(ul) > a").each(function() {
$(this).prepend("");
});
$("#menu").find("li:not(:has(ul)) > a").prepend("");
$("span.menubtn").click(function() {
$(this).blur();
var target = $(this).parent().parent().find("ul");
if(target.is(":visible")) {
target.slideUp("fast");
$(this).removeClass("menuopen");
} else {
target.slideDown("fast");
$(this).addClass("menuopen");
}
return false;
});
$("a[href='']").click(function() {
$(this).blur().find("span.menubtn").click();
return false;
});
});
© 2015 - 2025 Weber Informatics LLC | Privacy Policy