CatalystX-CRUD-YUI
view release on metacpan or search on metacpan
lib/CatalystX/CRUD/YUI/TT/crud/yui_menu.tt view on Meta::CPAN
// Initialize and render the menu when it is available in the DOM
YAHOO.util.Event.onContentReady("schema_menu", function () {
/*
Instantiate the menu. The first argument passed to the
constructor is the id of the element in the DOM that
represents the menu; the second is an object literal
representing a set of configuration properties for
the menu.
*/
var oMenu = new YAHOO.widget.MenuBar(
"schema_menu",
{
autosubmenudisplay: false,
hidedelay: 500,
lazyload: true
}
);
/*
Call the "render" method with no arguments since the
markup for this menu already exists in the DOM.
*/
oMenu.render();
});
( run in 1.798 second using v1.01-cache-2.11-cpan-75ffa21a3d4 )