开发者

How to disable a YUI MenuBarItem from markup

开发者 https://www.devze.com 2022-12-29 06:49 出处:网络
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

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 p开发者_JS百科roperty), 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?


Sorry, it was bugged but shot down.

http://yuilibrary.com/projects/yui2/ticket/2527643

0

精彩评论

暂无评论...
验证码 换一张
取 消