xowiki::YUIMenuBar instproc render (public)
<instance of xowiki::YUIMenuBar> render
Defined in /var/www/openacs.org/packages/xowiki/tcl/yui-procs.tcl
http://developer.yahoo.com/yui/menu/#menubar MenuBar looks best without a header and with one MenuItemList only
- Testcases:
- No testcase defined.
Source code: append :CSSclass " yuimenubar" set :extrajs "" if {[:navbar]} {append :CSSclass " yuimenubarnav"} html::div [:get_attributes id {CSSclass class}] { html::div -class "bd" { html::t \n html::ul -class "first-of-type" { foreach li [:children] {$li render} } html::t \n } html::t \n ::xo::Page set_property body class "yui-skin-sam" ::xo::Page requireJS "YAHOO.util.Event.onDOMReady(function () { var [:js_name] = new YAHOO.widget.MenuBar('[:id]', ${:configuration}); [:js_name].render(); ${:extrajs} });" }XQL Not present: Generic, PostgreSQL, Oracle