dhtmlXMenuBarObject - hide

Hi,



Thanks for responding to my DhtmlMenu positioning question. In the same example, i try to display an dhtmlXmenuBar as a popup menu on click of a button. I would like to know is there anyway that i could hide the main popup menu on mouse out event. When i move my mouse out of the popup menu, it should automatically hide in 2 or 3 seconds. Please help me with this.



Thank you very much











    Building Menu with script

    

    

    

    

    



        


















ROW 1
ROW 2
ROW 3
ROW 4




Menu doesn’t support such functionality.
You can try to add some kind of event for menu container , similar to next

dhtmlxEvent(aMenuBar.topNod,_isIE?“mouseleave”:“mouseout”,function(){
//some timeout based magic here

aMenuBar.hideBar();
});

By the way, new version of dhtmlxMenu was just released - it still not support such behavior, but may suit better for your needs