Area"

From Documentation
Line 13: Line 13:
 
= Example =
 
= Example =
  
[[ZK_Component_Reference/Essential_Components/Imagemap | Imagemap]]
+
<source lang="xml" >
 +
<imagemap src="/img/sun.jpg" onClick="alert(event.area)">
 +
<area id="First" coords="0, 0, 100, 100"/>
 +
<area id="Second" shape="circle" coords="200, 200, 100"/>
 +
</imagemap>
 +
</source>
  
 
=Supported Events=
 
=Supported Events=

Revision as of 07:57, 20 January 2011

Area

  • Demonstration: N/A
  • Java API: Area
  • JavaScript API: Area
  • Style Guide: N/A

Employment/Purpose

An area of a image map

Example

<imagemap src="/img/sun.jpg" onClick="alert(event.area)">
	<area id="First" coords="0, 0, 100, 100"/>
	<area id="Second" shape="circle" coords="200, 200, 100"/>
</imagemap>

Supported Events

Name
Event Type
None None

Supported Children

*None

Use Cases

Version Description Example Location
5.0.2 Area in Imagemap with href http://www.zkoss.org/forum/listComment/3016

Version History

Last Update : 2011/01/20


Version Date Content
     



Last Update : 2011/01/20

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