Line 392: | Line 392: | ||
$("#sub4").hide(); | $("#sub4").hide(); | ||
}); | }); | ||
+ | $("#nav1_5").hover(function () { | ||
+ | $("#sub5").show(); | ||
+ | $("#sub5").attr("style", "left:" + document.getElementById("nav1_5").getBoundingClientRect().left + | ||
+ | "px;top:" + (document.getElementById("nav1_1").getBoundingClientRect().top + 22) + "px"); | ||
+ | }, function () { | ||
+ | $("#sub5").hide(); | ||
+ | }); | ||
+ | |||
$("#nav1").hover(function () { | $("#nav1").hover(function () { | ||
Line 444: | Line 452: | ||
}, function () { | }, function () { | ||
$("#sub4").hide(); | $("#sub4").hide(); | ||
+ | }); | ||
+ | $("#nav5").hover(function () { | ||
+ | $("#sub5").show(); | ||
+ | $("#sub5").attr("style", "left:" + document.getElementById("nav5").getBoundingClientRect().left + | ||
+ | "px;top:" + (document.getElementById("nav5").getBoundingClientRect().top + 11 + document.documentElement | ||
+ | .scrollTop) + "px"); | ||
+ | }, function () { | ||
+ | $("#sub5").hide(); | ||
+ | }); | ||
+ | $("#sub4").hover(function () { | ||
+ | $("#sub5").show(); | ||
+ | }, function () { | ||
+ | $("#sub5").hide(); | ||
}); | }); | ||
Revision as of 20:24, 17 October 2018