Menubar"
From Documentation
Jumperchen (talk | contribs) |
|||
Line 12: | Line 12: | ||
= Example = | = Example = | ||
− | [[Image: | + | [[Image:ZKComRef_Menubar.png]] |
<source lang="xml" > | <source lang="xml" > |
Revision as of 04:13, 16 November 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 |
---|---|---|