blob: 57484f3f46e04d7c59aac0283293428a5c09df9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$("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;
// } else if (href.match("^#") == "#") {
// alert("Display href: " + href.substring(1) + "in a popup");
// return false;
}
return true;
});
});
|