sets the opening mode for a menu
mode | string | "win"|"web" |
myMenu.setOpenMode("win");
The default mode is "web". In the "win" mode a user should click anywhere to hide the menu, in the "web" mode - just put the mouse pointer out of the menu area.