Animation Effect
Show ():Display
Hide ()Hide
$ (). Toggle ():Switching between display and hide Effects
Parameters can be passed in,Speed.
Fadeout (Fade out)
Fadein (Fade in)
Fadetoggle ();Fade-in and fade-out Switching
Fadeto (2000, 0.3)Display the image to transparency30%Degree
Slide display
Slidedown ():
Slideup ():
Slidetoggle ():
You can inputSpeedParameters.
$ (': Animated ');Gets the element of the animation being executed.
Stop the element that is executing the animation:
$ (': Animated'). Stop ():Stop the current animation.
Stop (true)Clears all animations in the queue, that is, the animation stops immediately. If no parameters are passed, the animation stops immediately.
$ (': Animated'). Stop (false, true)The second parameter isTrueStops the animation being executed and sets the element to the position at the end of the animation.