Hi, I am using an AJAX animation extender. I enlarge am image on a button click and reduce the image on a hover over. I want to limit the size of the image to only one click Which is 2 times the original size. Can any one help with this?
vs 2008 .net 3.5 c#
<asp:Image ID="Image1" runat="server" ImageUrl="Sunset.jpg" />
<asp:AnimationExtender ID="AnimationExtender1" runat="server" TargetControlID="Image1">
<Animations>
<OnLoad>
<FadeIn Duration = "2" MinimumOpacity= ".2" MaximumOpacity="1" />
</OnLoad>
<OnClick>
<Parallel>
<FadeIn Duration = "2" MinimumOpacity= ".2" MaximumOpacity="1" />
<Scale ScaleFactor="2" />
</Parallel>
</OnClick>
<OnHoverOut>
<Parallel>
<FadeOut Duration = "2" MinimumOpacity= ".2" MaximumOpacity="1" />
<Scale ScaleFactor =".66" Duration=".5" />
</Parallel>
</OnHoverOut>
</Animations>
</asp:AnimationExtender>