Active
Project:
YUI Menu
Version:
6.x-1.1-rc1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2009 at 21:01 UTC
Updated:
23 Mar 2009 at 21:01 UTC
Hey,
I'm trying to keep the submenus open when the parent is clicked, but not succeeding with keepopen: true
another thread on a Yahoo! message board suggested
var oMenu = new YAHOO.widget.MenuBar(elt);
oMenu.subscribe('click', function (p_sType, p_sArgs) {
var o = p_sArgs[1].cfg.getProperty("submenu");
if(o && !o.cfg.getProperty("visible"))
o.show();
}
);
I have tried to implement this into the yuimenu.module but with no joy.
Anyone?