mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 19:39:16 -04:00
22 lines
579 B
JavaScript
22 lines
579 B
JavaScript
$("document").ready(function() {
|
|
$("#gSiteMenu ul:not(:first)").css("display", "none");
|
|
$("#gSiteMenu li").mouseover(function (ev) {
|
|
$(this).children("ul").css("display", "block");
|
|
$(this).children("ul").find("li").css("clear", "both");
|
|
|
|
this.dropdown_open = true;
|
|
});
|
|
$("#gSiteMenu li").mouseout(function (ev) {
|
|
$(this).children("ul").css("display", "none");
|
|
this.dropdown_open = false;
|
|
});
|
|
|
|
$("#gSiteMenu li a").click(function () {
|
|
var href = $(this).attr("href");
|
|
if (href == "#") {
|
|
return false;
|
|
}
|
|
return true;
|
|
});
|
|
});
|