Skip to content
Snippets Groups Projects
Commit 35805586 authored by llaffont's avatar llaffont
Browse files

Correction affichage menu horizontaux doubles (CASQY)

parent c9a4fd9e
No related merge requests found
......@@ -34,7 +34,9 @@ function menu_horizontal_mouse_out(node) {
function menu_execute_display() {
if (menuClose) {
$('#menu_horizontal').children('ul').children().each(function(i, node) {
$('#menu_horizontal').add('#pre_menu_horizontal')
.children('ul')
.children().each(function(i, node) {
$(node).children('ul').hide();
});
......@@ -70,8 +72,9 @@ function menu_refresh_timer(delay) {
function menu_horizontal_init() {
$('#menu_horizontal>ul>li').hover(function() {menu_horizontal_mouse_over(this)},
function() {menu_horizontal_mouse_out(this)});
$('#menu_horizontal').add('#pre_menu_horizontal').children('ul').children('li')
.hover(function() {menu_horizontal_mouse_over(this)},
function() {menu_horizontal_mouse_out(this)});
}
$(menu_horizontal_init);
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment