Take a look here to understand what I want to make:
$(document).ready(function() {
$("a.show_child").hover(
function () {
$(this).addClass("active");
$(this).next().show();
},
function () {
$(this).removeClass("active");
$(this).next().hide();
}
);
$("ul.child").hover(
function () {
$(this).prev().addClass("active");
$(this).show();
},
function () {
$(this).prev().removeClass("active");
$(this).hide();
}
);
});
Is a little exemple…with more css work perfect! but the problem is when I want to use slideUp() and slideDown() instead of show() and hide().
add stop
http://jsfiddle.net/kAm2h/