jQuery – animate() Method
The animate() method performs a custom animation on an HTML element, changing one CSS property value to another gradually, creating an animated effect.
The animate() method performs a custom animation on an HTML element, changing one CSS property value to another gradually, creating an animated effect.
The clearQueue() method removes all items from the queue that have not yet started to run. If started, they will run to completion.
The delay() method sets a timer to delay the execution of the next item in the queue.
The dequeue() method removes the next function from the queue and executes the function, allowing the remaining items in the queue() to continue.
The fadeIn() method gradually changes, fades in, the opacity for the selected element from completely hidden to completely visible.
The fadeOut() method gradually changes, fades out, the opacity for the selected element from completely visible to completely hidden.
The fadeTo() method gradually changes the opacity for the selected element to a specified opacity, fading in or fading out the element.
The fadeToggle() method toggles between the fadeIn() and fadeOut() methods by fading in a faded-out element and fading out a faded-in element.
The finish() method stops the currently-running animations, removes all queued animations, and completes all animations for the selected element.
The hide() method hides the selected element. The hidden item will no longer take up space on the page, affecting the layout.
The queue() method shows the queue of functions waiting to be executed on the selected element.
The show() method shows the selected hidden element. The shown item will now take up space on the page, affecting the layout.
The slideDown() method slides down and shows the selected element. It works on elements hidden with jQuery methods and those with display: none in CSS.
The slideToggle() method toggles between the slideUp() and slideDown() methods by sliding down a hidden element and sliding up a visible element.
The slideUp() method slides up and hides the selected element. The hidden item will no longer take up space on the page, affecting the layout.
The stop() method stops the currently running animation for the selected element.
The toggle() method toggles between hide() and show() by showing a hidden element and hiding a visible element.