I am trying to create a menu button which does not have menu items. In other words, I want to suppress the message “[Empty menu]” when the user clicks on that menu. Is this possible?
isc.Menu.create({
ID: "menu",
autoDraw: false,
showShadow: true,
shadowDepth: 10
});
isc.MenuButton.create({
ID: "menuButton",
title: "File",
width: 100,
menu: menu
});