JQuery easing animation effect extension

Source: Internet
Author: User

Introduction of easing JS file

<script src= "Js/jquery.min.js" ></script>

<script src= "Js/jquery.easing.min.js" ></script>

Using jquery easing

$ (Element). Slideup ({
duration:1000,
Easing:method,
Complete:callback
});

    • Parameter duration: Defines the animation speed, the shorter the time, the faster the movement.
    • Parameter easing: Specify the animation effect, easing JS provides a variety of animation effects, there are uniform motion, variable acceleration motion, cushioning the effect of fluctuations, they are: Linear,swing,jswing,easeinquad,easeoutquad, Easeinoutquad,easeincubic, Easeoutcubic,easeinoutcubic,easeinquart,easeoutquart,easeinoutquart, EaseInQuint, Easeoutquint,easeinoutquint,easeinsine,easeoutsine, Easeinoutsine,easeinexpo,easeoutexpo,easeinoutexpo, Easeincirc, Easeoutcirc,easeinoutcirc,easeinelastic,easeoutelastic,easeinoutelastic, Easeinback,easeoutback, Easeinoutback,easeinbounce,easeoutbounce,easeinoutbounce. The actual effect of each animation, please refer to demo.
    • Parameters complete: After the end of the animation callback function callback, you can customize the call function after the end of the animation.

JQuery easing animation effect extension

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.