ajax.net应用

   <ajaxToolkit:AnimationExtender ID="AnimationExample2A" runat="server" TargetControlID="Example2A">
        
<Animations>
            
<OnLoad>
                
<OpacityAction Opacity=".2" />
            
</OnLoad>
            
<OnHoverOver>
                
<FadeIn Duration=".25" Fps="20" MinimumOpacity=".2" MaximumOpacity=".8" />
            
</OnHoverOver>
            
<OnHoverOut>
                
<FadeOut Duration=".25" Fps="20" MinimumOpacity=".2" MaximumOpacity=".8" />
            
</OnHoverOut>
        
</Animations>
    
</ajaxToolkit:AnimationExtender>
鼠标移上渐隐


    <ajaxToolkit:AnimationExtender ID="AnimationExample5A" runat="server" TargetControlID="Example5A">
        
<Animations>
            
<OnClick>
                
<Sequence>
                    
<EnableAction Enabled="false" />
                    
<Color AnimationTarget="master_contentplaceholder"
                        Duration
="1"
                        StartValue
="#EFEFEF"
                        EndValue
="#FF0000"
                        Property
="style"
                        PropertyKey
="backgroundColor" />
                    
<Color AnimationTarget="master_contentplaceholder"
                        Duration
="1"
                        StartValue
="#FF0000"
                        EndValue
="#EFEFEF"
                        Property
="style"
                        PropertyKey
="backgroundColor" />
                    
<EnableAction Enabled="true" />
                
</Sequence>
            
</OnClick>
        
</Animations>
    
</ajaxToolkit:AnimationExtender>
点击变色
posted @ 2007-07-05 11:02  子午  阅读(195)  评论(0编辑  收藏  举报