How to disable a YUI MenuBarItem from markup

Posted by Bears will eat you on Stack Overflow See other posts from Stack Overflow or by Bears will eat you
Published on 2010-05-07T16:05:20Z Indexed on 2010/05/07 16:08 UTC
Read the original article Hit count: 188

Filed under:
|
|
|

I prefer creating my nav menus from markup (rather than Javascript), like in this example. Is it possible to create menus and/or menu items from markup which are disabled? I see how to use Javascript to do this (use the disabled config property), but I'm looking for some way to encode this information in markup - perhaps there's a CSS class to use? Or am I out of luck here?

© Stack Overflow or respective owner

Related posts about html

Related posts about css