The animation operation of jquery

Source: Internet
Author: User
1. Hide/Show (action is Displag CSS property) Hide () show () toggle () (Show and Hide toggle) 2. Roll Up/Drop down (set the height of the CSS property) Slidedown () Slideup () Slidetoggel () (Roll up and drop down toggle) 3. Fade In/Fade out (set to opacity CSS property) FadeOut () fadeIn () Fadetoggle () (Fade in Transition) FadeTo () Fade-in fade-in to specific opacity values $.fadeto (3000,0.2,function ()); 4. The Universal Method Animate () can set all of the above effects, and can achieve the effects not shown above. Summary: The method parameters are basically the same in the above 1 2 3 points. For example: Hide () No parameter Hide (3000), one parameter duration execution speed hide (3000,function () {}), two parameters duration and complete a callback function that specifies the effect. 5. Some commonly used functions each () get () index () trim () InArray ()

The animation operation of jquery

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.