Home > Web Front-end > JS Tutorial > body text

jQuery animate effect demonstration_jquery

WBOY
Release: 2016-05-16 18:45:30
Original
1379 people have browsed it

animate(params[,duration[,easing[,callback]]])
Function used to create custom animations.

The key to this function is to specify the animation form and result style attribute object. Each property in this object represents a style property that can change (such as "height", "top", or "opacity").
Note: All specified attributes must be in camel form, such as marginLeft instead of margin-left.
The value of each attribute indicates the length of this style attribute when the animation ends. If it is a numeric value, the style property will gradient from the current value to the specified value. If a string value such as "hide", "show", or "toggle" is used, the default animation form is invoked for the property.

After running, refresh the main remote js file.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template