-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
I am trying to get custom effects to work using the following code:
<zk>
<script>
zk.eff.Actions.onShow = function (n, opts) {
alert("tab became visible");
};
</script>
<tabbox>
<tabs>
<tab>Tab 1</tab>
<tab>Tab 2</tab>
</tabs>
<tabpanels>
<tabpanel action="show: onShow">
Tab 1
</tabpanel>
<tabpanel>
Tab 2
</tabpanel>
</tabpanels>
</tabbox>
</zk>
However, although ZK complains if the effect is not registered, the alert message is never shown.
Any idea what I am doing wrong here?
Regards,
J.
Asked: 2013-03-29 20:39:12 +0800
Seen: 17 times
Last updated: Mar 29 '13
Facing issue in masking on phone [closed]
coerceFromString_ override no longer works from 6.5.1 [closed]
Execute Javascript on component visible
Is there a way to resolve view model properties as input to client side javascripts?
scrollbar listner for 2 grid [closed]
Theme javascript wpd file not found