I have a case where I have button A and button B that trigger four animations each. Can I in the client side rewire the animations so that all of them are triggered by button B? Or any other similar combination. I am trying to change the _onClickHandler references, but for a reason that I haven't figured out, it is not working. Let me know if any of you have done a similar thing.
Thanks
Hi ,
I have the perfect link for you.
Check out this post which talks about how to use the AnimationExtender from the Client-Side
http://blogs.msdn.com/phaniraj/archive/2007/04/13/animations-how-many-ways-do-i-call-thee.aspx
Hope this helps
Yeah I saw that article, but that wasn't really my problem. Basically what I ended up doing is something along the lines of:
// get the animation that will be rehooked to another button
var anim = $find('animBehaviorID');
$addHandler($get('newbutton'), 'click', anim._onClickHandler);
0 件のコメント:
コメントを投稿