Hello.
When I hover over a control (in my case a menu), and I want to play the animation on a panel instead my menu, how can I do that?
This is my code so far, I just can't figure out how to change from the menu to the panel.
<asp:scriptmanager ID="Scriptmanager1" runat="server" />
<asp:Menu ID="MyMenu" runat="server" .................................. /
<div class="AnimateThis" id="AnimateThis" runat="server">
This is the text I want to play the animation on.
</div
<ajaxToolkit:AnimationExtender ID="MyAnimation" runat="server" TargetControlID="MyMenu" BehaviorID="AnimateMyText">
<Animations>
<OnHoverOver>
<FadeOut/>
</OnHoverOver>
<OnHoverOut>
<FadeIn/>
</OnHoverOut>
</Animations>
</ajaxToolkit:AnimationExtender
Hi,
Take a look at the Animation Target section of theUsing Animations walkthrough.
Thanks,
Ted
It seems I should use AminationTarget to do this. Thanks.
No comments:
Post a Comment