String |
CSS_CLASS_NAME
Constant representing the CSS class(es) to be applied to the root
HTMLDivElement of the MenuBar instance.
|
Object |
superclass
|
Class YAHOO.widget.MenuBar
Object | +--YAHOO.widget.Overlay | +--YAHOO.widget.MenuModule | +--YAHOO.widget.MenuBar
class
YAHOO.widget.MenuBar
Field Summary [top]
Fields inherited from class YAHOO.widget.MenuModule [top]
Method Summary [top]
void |
init
(<String Id or HTMLElement> p_oElement, <Object> p_oUserConfig)
The MenuBar class's initialization method.
|
Methods inherited from class YAHOO.widget.MenuModule
Field Detail [top]
CSS_CLASS_NAME
String
CSS_CLASS_NAME
Constant representing the CSS class(es) to be applied to the root
HTMLDivElement of the MenuBar instance.
superclass
Object
superclass
Constructor Detail [top]
YAHOO.widget.MenuBar
YAHOO.widget.MenuBar
()
- Parameters:
-
p_oElement
- String id or HTMLElement (either HTMLSelectElement or HTMLDivElement) of the source HTMLElement node. -
p_oUserConfig
- Optional. The configuration object literal containing the configuration for a MenuBar instance. See configuration class documentation for more details.
Method Detail [top]
init
void
init
(<String Id or HTMLElement> p_oElement, <Object> p_oUserConfig)
The MenuBar class's initialization method. This method is automatically
called by the constructor, and sets up all DOM references for pre-existing
markup, and creates required markup if it is not already present.
- Parameters:
-
p_oUserConfig
- Optional. The configuration object literal containing the configuration for a MenuBar instance. See configuration class documentation for more details. -
p_oElement
- String id or HTMLElement (either HTMLSelectElement or HTMLDivElement) of the source HTMLElement node.