Latest web development tutorials

jQuery effects - Stop Animation

jQuery stop () method is used prior to the completion of the animation or effect to stop them.

Click here for the up / down sliding panel

Time is precious, so we provide learning content quick and easy to understand for you.

Here, you can understand by means of a convenient mode to obtain any knowledge you need.


jQuery stop () slide
Demo jQuery stop () method.

jQuery stop () Anime (parameters)
Demo jQuery stop () method

jQuery stop () method

jQuery stop () method is used to stop the animation or effect, before they complete.

stop () method is applicable to all jQuery effects functions, including a slide, fade, and custom animations.



The optional parameter specifies whether stopAll animation queue should be cleared. The default is false, that is, only to stop the animation activities, allowing any queued animations Backward.

The optional parameter specifies whether goToEnd immediately complete the current animation. The default is false.

Thus, by default, stop () clears the specified on the selected element in the current animation.

The following example illustrates the stop () method, with no parameters:



try it"