Area"
From Documentation
Jumperchen (talk | contribs) |
Murasakiwu (talk | contribs) |
||
Line 13: | Line 13: | ||
= Example = | = Example = | ||
− | + | <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
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
None | None |
- Inherited Supported Events: AbstractComponent
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
Version | Date | Content |
---|---|---|