Fisheye"

From Documentation
Line 3: Line 3:
 
= Fisheye =
 
= Fisheye =
  
*Demonstration: [http://www.zkoss.org/zkdemo/userguide/#t4 Fisheye]
+
*Demonstration: [http://www.zkoss.org/zkdemo/menu/fisheye_menu Fisheye]
 
*Java API: <javadoc>org.zkoss.zkex.zul.Fisheye</javadoc>
 
*Java API: <javadoc>org.zkoss.zkex.zul.Fisheye</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zkex.menu.Fisheye</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zkex.menu.Fisheye</javadoc>

Revision as of 09:12, 18 November 2010

Fisheye

Employment/Purpose

A fisheye item

Example

ZKComRef fisheyebar.png

<zk>
	<div height="450px">
		<checkbox label="Attach icon edge at bottom"
			onCheck='fsb.attachEdge=self.checked?"bottom":"top"' />
		<checkbox label="Vertical orient"
			onCheck='fsb.orient=self.checked?"vertical":"horizontal"' />
		<separator bar="true" />
		<fisheyebar id="fsb" style="position:absolute;margin:80px 150px;"
			attachEdge="top" itemWidth="80" itemHeight="80" itemMaxHeight="160" itemMaxWidth="160">
			<fisheye image="/img/Centigrade-Widget-Icons/FolderABlue-128x128.png" label="Folder"
				onClick="alert(self.label)" />
			<fisheye image="/img/Centigrade-Widget-Icons/ReadingGlass-128x128.png" label="Reading Glasses"
				onClick="alert(self.label)" />
			<fisheye image="/img/Centigrade-Widget-Icons/Briefcase-128x128.png" label="Project"
				onClick="alert(self.label)" />
			<fisheye image="/img/Centigrade-Widget-Icons/MailboxFlag-128x128.png"
				label="Email" onClick="alert(self.label)" />
			<fisheye image="/img/Centigrade-Widget-Icons/Globe-128x128.png"
				label="Globe" onClick="alert(self.label)" />
			<fisheye image="/img/Centigrade-Widget-Icons/Spyglass-128x128.png" label="Spyglass"
				onClick="alert(self.label)" />
		</fisheyebar>
	</div>
</zk>

Supported Events

Name
Event Type
None None

Supported Children

*None

Use Cases

Version Description Example Location
     

Version History

Last Update : 2010/11/18


Version Date Content
     



Last Update : 2010/11/18

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