Navbar"

From Documentation
Line 2: Line 2:
  
 
*Demonstration:  
 
*Demonstration:  
*Java API:  
+
*Java API: <javadoc>http://www.zkoss.org/javadoc/7.0.0-Preview/zk/org/zkoss/zkmax/zul/Navbar.html</javadoc>
 
*JavaScript API:  
 
*JavaScript API:  
 
*Style Guide:
 
*Style Guide:

Revision as of 06:10, 23 September 2013

Navbar

Employment/Purpose

Provide a roadmap to help user navigate through website. It's a container that usually contains nav elements.

Example

ZKComRef Nav.png

<navbar orient="vertical" width="200px">
	<navitem label="Home" iconSclass="z-icon-home" />
	<nav label="Get Started" iconSclass="z-icon-th-list" detailed="true">
		<navitem label="Step One" />
		<navitem label="Step Two" />
		<navitem label="Step Three" />
	</nav>
	<navitem label="About" iconSclass="z-icon-flag" />
	<navitem label="Contact" iconSclass="z-icon-envelope"/>
</navbar>

Properties

Orient

A navbar could be placed in a vertical or horizontal orientation, the orient attribute decides.

Orient
Snapshot
horizontal
ZKComRef Nav hor.png
vertical
ZKComRef Nav.png

Supported Events

Name
Event Type
onSelect
Event: SelectEvent

Notifies one that the user has selected a navitem in the navbar.

Supported Children

* Nav,  Navitem

Use Cases

Version Description Example Location
     

Version History

Last Update : 2013/09/23


Version Date Content
7.0.0 August, 2013 Navbar was introduced.



Last Update : 2013/09/23

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