Firefox issue in hiding menu

Thanks for your response. Please try to reconstruct this sample locally. There is time out logic for hiding the main Menubar which is in popup mode.

a) Works good in IE but not in firefox, the mouse out event gets triggered when the mouse is over the main menubar.

b) Also in IE, if the mouse is over the submenus, the menubar gets hide becoz of the mouseout function getting triggered. How to work around?











Building Menu with script
































ROW 1
ROW 2
ROW 3
ROW 4




You can try to change the code as

var glob_timer;
var value = dhtmlxEvent(aMenuBar.topNod,_isIE?“mouseleave”:“mouseout”,function(){
glob_timer=setTimeout(“hide(aMenuBar)”,1000);
});

var value = dhtmlxEvent(aMenuBar.topNod,“mouseover”,function(){
window.clearTimeout(glob_timer)
});