Menubar"
From Documentation
Tmillsclare (talk | contribs) |
|||
Line 51: | Line 51: | ||
=Supported Children= | =Supported Children= | ||
− | *[[ZK_Component_Reference/Essential_Components/Menu | Menu]] | + | *[[ZK_Component_Reference/Essential_Components/Menu | Menu]], [[ZK_Component_Reference/Essential_Components/Menu/Menuitem | Menuitem]] |
=Use cases= | =Use cases= |
Revision as of 10:56, 13 July 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, Menuitem
Use cases
Version | Description | Example Location |
---|---|---|
Version History
Version | Date | Content |
---|---|---|