Menubar"

From Documentation
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

File:Menu.png

<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

Name
Event Type
None None

Supported Children

* Menu,  Menuitem

Use cases

Version Description Example Location
     

Version History

Version Date Content
     



Last Update : 2010/07/13

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.