Geeks With Blogs
Mihir Chitnis
| Home |

This guy calls me last night asking about implementation of Animation Extender from the Ajax ToolKit.
I used the following code to bring in a simple effect of Fade on mouse over/OnHover

Code:
<asp:Menu ID="Menu1" runat="server">
<Items>
<asp:MenuItem Value="~/images/cast/ron.jpg" />
<asp:MenuItem Value="~/images/cast/ron.jpg" />
<asp:MenuItem Value="~/images/cast/ron.jpg" />
</Items>
<StaticItemTemplate>
<div id="menuItems">
<asp:Image ID="menuItemok" runat="server" ImageUrl='<%# Eval("Value") %>'/>

</div>
<ajaxToolkit:AnimationExtender ID="menuItemAnimation" runat="server" TargetControlID="menuItemok">
<Animations>
<OnHoverOver>
<FadeIn Duration=".3" Fps="25" />
</OnHoverOver>
</Animations>
</ajaxToolkit:AnimationExtender>

</StaticItemTemplate>
</asp:Menu>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>


Posted on Thursday, February 8, 2007 6:25 PM AJAX ToolKit | Back to top


Comments on this post: Animation Extender in Asp:menu

# re: Animation Extender in Asp:menu
Requesting Gravatar...
Very informative post. Its really helpful for me and beginner too. Check out this link too its also having a nice post with wonderful explanation on Ajax Toolkit AnimationExtender Control in ASP.Net.....

http://mindstick.com/Articles/c0c7993d-c27e-49a6-aee8-e4ea3b4193d0/?Ajax%20Toolkit%20AnimationExtender%20Control%20in%20ASP.Net

Thanks

Left by Ajay Singh on Jan 03, 2012 4:00 AM

Your comment:
 (will show your gravatar)
 


Copyright © Mihir Chitnis | Powered by: GeeksWithBlogs.net | Join free