WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Menu: menuHandle, disabled class?, Micha Schopman, August 13, 2003
     Re:Menu: menuHandle, disabled class?, Micha Schopman, August 13, 2003

Subject: Re:Menu: menuHandle, disabled class? From: Micha Schopman Date: August 13, 2003

"fixed" this one. A css class is missing. It it also missing in the demo versions of menu4. Add this at the bottom of the officexp.css (for example).

.menu-bar .menu-button.disabled {
 color:#cccccc;
}

Now you can invoke menuBar.invalidate(); to see the results.

From: Micha Schopman
Sent: August 13, 2003
Subject: Re:Menu: menuHandle, disabled class?

With the last release of Menu4, it became possible to disable menuBar items.

for ex:

var menuBar = new MenuBar();
 editMenuHandle = new MenuButton("Edit", editMenu);
 menuBar.add(editMenuHandle);

editMenuHandle.disabled = true;

However, the disabled menu button does not change from class. Is this by design, or am I missing a CSS Class?





Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX