Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi,

 

I have a page where I have some animation that fades an image in and then out again:

 

<cc1:AnimationExtender ID="AnimationExtender1" runat="server" TargetControlID="pnlSuccesConfirmation">          
                               <Animations>
                                   <OnLoad>
                                       <Sequence>                                          
                                           <FadeIn AnimationTarget="pnlSuccesConfirmation" Duration="2" Fps="20"/>                                                                                            
                                           <FadeOut AnimationTarget="pnlSuccesConfirmation"  Duration="3" Fps="20"/>                                         
                                       </Sequence>                                                                       
                                   </OnLoad>                            
                               </Animations>
                           </cc1:AnimationExtender>

 

The problem is that is soon as it has finished faiding in it immediately starts to fade again. I want some way of pausing for a couple of seconds, before the fade out begins. The only examples I have Googled are ones that pause that the animation from a click to say a button click. I just want to programmatically set a pause within the above code, if this is at all possible.

 

Thanks, Dave.

Posted

I am not too sure how to write a call to a javascript method within the ajax code that would pause the animation for a few seconds.

 

Is there any chance you could give me some concrete example?

 

Many thanks, Dave.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...