# Yahoo! UI Library

### Menu Library

Yahoo! UI Library > menu > YAHOO.widget.MenuModule

## Class YAHOO.widget.MenuModule - extends YAHOO.widget.Overlay

Deprecated:As of version 0.12, all MenuModule functionality has been implemented directly in YAHOO.widget.Menu, making YAHOO.widget.Menu the base class for all menuing containers.
The base class for all menuing containers.

### Constructor

YAHOO.widget.MenuModule `( p_oElement , p_oConfig )`

Parameters:
  `p_oElement <String>` String specifying the id attribute of the `<div>` element of the menu module.
  `p_oElement <String>` String specifying the id attribute of the `<select>` element to be used as the data source for the menu module.
  `p_oElement <HTMLDivElement>` Object specifying the `<div>` element of the menu module.
  `p_oElement <HTMLSelectElement>` Object specifying the `<select>` element to be used as the data source for the menu module.
  `p_oConfig <Object>` Optional. Object literal specifying the configuration for the menu module. See configuration class documentation for more details.

#### Properties inherited from YAHOO.widget.Module:

`body, browser, cfg, contructor, element, footer, header, id, imageRoot, isSecure, platform`

#### Properties inherited from YAHOO.widget.Overlay:

`YAHOO.widget.Overlay._initialized`

#### Methods inherited from YAHOO.widget.Module:

`appendToBody, appendToFooter, appendToHeader, configMonitorResize, configVisible, destroy, hide, init, initDefaultConfig, initEvents, initResizeMonitor, onDomResize, render, setBody, setFooter, setHeader, show, toString`

#### Methods inherited from YAHOO.widget.Overlay:

`align, center, configConstrainToViewport, configContext, configFixedCenter, configHeight, configIframe, configVisible, configWidth, configX, configXY, configY, configzIndex, destroy, doCenterOnDOMEvent, enforceConstraints, hideIframe, hideMacGeckoScrollbars, init, initDefaultConfig, initEvents, moveTo, onDomResize, showIframe, showMacGeckoScrollbars, syncPosition, toString`

#### Events inherited from YAHOO.widget.Module:

`appendEvent, beforeHideEvent, beforeInitEvent, beforeRenderEvent, beforeShowEvent, changeBodyEvent, changeContentEvent, changeFooterEvent, changeHeaderEvent, destroyEvent, hideEvent, initEvent, renderEvent, showEvent`

#### Events inherited from YAHOO.widget.Overlay:

`beforeMoveEvent, moveEvent, YAHOO.widget.Overlay.windowResizeEvent, YAHOO.widget.Overlay.windowScrollEvent`

#### Configuration attributes inherited from YAHOO.widget.Module:

`effect, monitorresize, visible`

#### Configuration attributes inherited from YAHOO.widget.Overlay:

`constraintoviewport, context, fixedcenter, height, iframe, width, x, xy, y, zIndex`

Copyright © 2006 Yahoo! Inc. All rights reserved.