onshowとonhide動作はコンポーネントの表示と非表示の設定を行います。
<zk>
<button label="Show Overlapped" onClick="win.doOverlapped();"/>
<window id="win" border="normal" width="200px" mode="overlapped"
action="onshow:anima.appear(#{self});onhide:anima.fade(#{self})" visible="false">
<caption image="/img/inet.png" label="Hi there!"/>
<checkbox label="Hello, Effect!"/>
</window>
</zk>