Sort out some common jQuery animation events and arrange jquery animations.

Source: Internet
Author: User

Sort out some common jQuery animation events and arrange jquery animations.

Some of jQuery's commonly used animation functions have been sorted out, which are useful for interactive pages.

. Css ('A', '12px ');
. Css ({
A: '12px ',
B: '# fff'
});

. Show ();
. Hide ();
. Toggle ();

. FadeIn ();
. FadeOut ();
. FadeToggle ();

. SlideDown ();
. SlideUp ();
. SlideToggle ();

. Text ('string ');

. Animate ({
A: '40px ',
B: 'ccc'
}, 200)

. FadeTo (600, 0.4 );

And then sorted out some of the animation function can operate the css attributes, in fact, also from other places on the Internet to find (http://blog.csdn.net/goodshot/article/details/8648706 ):

BackgroundPosition
BorderWidth
BorderBottomWidth
BorderLeftWidth
BorderRightWidth
BorderTopWidth
BorderSpacing
Margin
MarginBottom
MarginLeft
MarginRight
MarginTop
OutlineWidth
Padding
PaddingBottom
PaddingLeft
PaddingRight
PaddingTop
Height
Width
MaxHeight
MaxWidth
MinHeight
MaxWidth
Font
FontSize (the css parameter specified in the animate function is not the same as the standard css attribute. For example, the css standard is: font-size. Likewise
This is also the case with many faces)
Bottom
Left
Right
Top
LetterSpacing
WordSpacing
LineHeight
TextIndent
Opacity

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.