Menubar"
From Documentation
Tmillsclare (talk | contribs) m |
|||
Line 3: | Line 3: | ||
= Menubar = | = Menubar = | ||
− | *Demonstration: [http://www.zkoss.org/zkdemo/userguide/#t1 | + | *Demonstration: [http://www.zkoss.org/zkdemo/userguide/#t1 Menu] |
*Java API: <javadoc>org.zkoss.zul.Menubar</javadoc> | *Java API: <javadoc>org.zkoss.zul.Menubar</javadoc> | ||
*JavaScript API: <javadoc directory="jsdoc">zul.menu.Menubar</javadoc> | *JavaScript API: <javadoc directory="jsdoc">zul.menu.Menubar</javadoc> | ||
Line 51: | Line 51: | ||
=Supported Children= | =Supported Children= | ||
− | * | + | *[[ZK_Component_Reference/Essential_Components/Menu | Menu]] |
=Use cases= | =Use cases= | ||
Line 58: | Line 58: | ||
! Version !! Description !! Example Location | ! Version !! Description !! Example Location | ||
|- | |- | ||
− | | | + | | |
| | | | ||
| | | | ||
Line 68: | Line 68: | ||
! Version !! Date !! Content | ! Version !! Date !! Content | ||
|- | |- | ||
− | | 5.0. | + | | 5.0.2 |
| 05/11/2010 | | 05/11/2010 | ||
| Initialization | | Initialization |
Revision as of 04:03, 14 May 2010
Menubar
Employment/Purpose
A container that usually contains menu elements.
Example
<menubar id="menubar">
<menu label="File">
<menupopup onOpen="alert(self.id)">
<menuitem label="New" onClick="alert(self.label)" />
<menuitem label="Open" onClick="alert(self.label)" />
<menuitem label="Save" onClick="alert(self.label)" />
<menuseparator />
<menuitem label="Exit" onClick="alert(self.label)" />
</menupopup>
</menu>
<menu label="Help">
<menupopup>
<menuitem label="Index" onClick="alert(self.label)" />
<menu label="About">
<menupopup>
<menuitem label="About ZK" onClick="alert(self.label)" />
<menuitem label="About Potix" onClick="alert(self.label)" />
</menupopup>
</menu>
</menupopup>
</menu>
</menubar>
Supported events
None | None |
Supported Children
* Menu
Use cases
Version | Description | Example Location |
---|---|---|
Version History
Version | Date | Content |
---|---|---|
5.0.2 | 05/11/2010 | Initialization |