A"

From Documentation
Line 13: Line 13:
  
 
= Example =
 
= Example =
 +
 +
[[Image:ZKComRef_A_Examples.PNG]]
  
 
<source lang="xml" >
 
<source lang="xml" >
 
<a href="http://www.zkoss.org" label="Visit ZK!"/>
 
<a href="http://www.zkoss.org" label="Visit ZK!"/>
 
</source>
 
</source>
 
[[Image:ZKComRef_A_Examples.PNG]]
 
  
 
In additions, you could add child components to <javadoc>org.zkoss.zul.A</javadoc> too:
 
In additions, you could add child components to <javadoc>org.zkoss.zul.A</javadoc> too:

Revision as of 03:34, 23 November 2010

A

  • Demonstration: N/A
  • Java API: A
  • JavaScript API: A

Employment/Purpose

The same as HTML A tag.


Example

ZKComRef A Examples.PNG

<a href="http://www.zkoss.org" label="Visit ZK!"/>

In additions, you could add child components to A too:

<a href="http://www.zkoss.org" label="Visit ZK!" image="zk.png">
  <grid>
    <rows>
      <row>What ever content</row>
    </rows>
  </grid>
</a>

Notice that a child component might also handle the mouse click, so the final result of clicking on a child component is really up to which child component is used.

Supported events

Name
Event Type
None None

Supported Children

*ALL

Use cases

Version Description Example Location
     

Version History

Last Update : 2010/11/23


Version Date Content
5.0.5 October, 2010 <javadoc>org.zkoss.zul.A</a> supports any children.



Last Update : 2010/11/23

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