function initMenus() {
$('#menu ul').hide();
$.each($('#menu'), function(){
$('#' + this.id + '.expandfirst .active').show();
});
$('#menu li a').hover(
function() {
var checkElement = $(this).next();
var parent = this[removed][removed].id;
if($('#' + parent).hasClass('noaccordion')) {
$(this).next().slideToggle('normal');
return false;
}
if((checkElement.is('ul')) && (checkElement.is(':visible'))) {
if($('#' + parent).hasClass('collapsible')) {
$('#' + parent + ' ul:visible').slideUp('normal');
}
return false;
}
if((checkElement.is('ul')) && (!checkElement.is(':visible'))) {
$('#' + parent + ' ul:visible').slideUp('normal');
checkElement.slideDown('normal');
return false;
}
}
);
}
$(document).ready(function() {initMenus();});i was fixed for the sub menu show when we hover on it ... but it not comeback when we out mouse .
Somebody help me !!! thank so much
---------- so about my english