Ajax controltoolkit Learning Log-animationextender control (3)

Source: Internet
Author: User
Animationextender Controls are controls that add animation effects. Events that can be added to an animation combination include onclick, onload, onmouseover, onmourseout, onhoverover, and onhoverout.
Onload : The action when the page is imported.
Onclick : The action when you click the control.
Onmourseover : An action that slides behind the mouse.
Onmourseout : The action when the mouse slides out.
Onhoverover : Similar to onmourseover, it is generated when the mouse slides out, but the execution of its action must be completed or not executed in onhoverout.
Onhoverout : Similar to onmourseout, it is generated when the mouse slides out, but the execution of its action must be completed or not executed in onhoverover.

Example:
In this example, the mouse clicks the Panel, and the Panel fades in and out. Code As follows: 1 < C0: animationextender ID = "Animationextender1" Runat = "Server" Targetcontrolid = "Panel1" >
2 < Animations >
3 < Onclick >
4 < Sequence >
5 < Pulse Duration = "0.1"   />
6 < Parallel Duration = ". 5" FPS = "30" >
7 < Fadeout />
8 < Scale Scalefactor = "5" Unit = "PX" Center = "True" Scalefont = "True" Fontunit = "PT"   />
9 </ Parallel >
10 < Parallel Duration = ". 5" FPS = "30" >
11 < Fadein />
12 < Scale Scalefactor = "0.2" Unit = "PX" Center = "True" Scalefont = "True" Fontunit = "PT"   />
13 </ Parallel >
14 </ Sequence >
15 </ Onclick >
16 </ Animations >
17 </ C0: animationextender >

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.