Layout Options

  • Fixed Header
    Makes the header top fixed, always visible!
  • Fixed Sidebar
    Makes the sidebar left fixed, always visible!
Introduction
Webconcept

Description

The .stop() method stops the currently running animation for selected elements.


v1.2

This method has the form:

.stop([clearQueue] [, jumpToEnd])
Parameter Description
clearQueue (optional) A Boolean value specifying whether or not to stop the queued animations as well (default = false)
jumpToEnd (optional) A Boolean value specifying whether or not to complete the current animation immediately (default = false)

Return Value

This form returns a jQuery object.


v1.7

This method has the form:

.stop([queue] [, clearQueue] [, jumpToEnd])
Parameter Description
queue (optional) Specifies the name of the queue in which to stop animations
clearQueue (optional) A Boolean value specifying whether or not to stop the queued animations as well (default = false)
jumpToEnd (optional) A Boolean value specifying whether or not to complete the current animation immediately (default = false)

Return Value

This form returns a jQuery object.

Examples

Stop a running animation:

$("#stop").click(function(){
  $("div").stop();
});