Difference between revisions of "Template:Team:Aachen/Footer"

Line 124: Line 124:
 
var t;
 
var t;
 
$(".dropdown-menu li.dropdown").on("mouseenter", function () {
 
$(".dropdown-menu li.dropdown").on("mouseenter", function () {
+
$('.ac-submenu').hide();
 
$(this).find( ".dropdown-menu").show();
 
$(this).find( ".dropdown-menu").show();
 
+
});
});
+
 
 
$(".ac-submenu").on("mouseleave", function () {
 
$(".ac-submenu").on("mouseleave", function () {
 
t = setTimeout(function () {
 
t = setTimeout(function () {
Line 133: Line 133:
 
         }, 1000);
 
         }, 1000);
 
});
 
});
 +
 
$(".ac-submenu").on("mouseenter", function () {
 
$(".ac-submenu").on("mouseenter", function () {
 
       clearTimeout(t);
 
       clearTimeout(t);

Revision as of 01:27, 19 September 2015