jQuery Effects Methods

About This Index
This page is the jQuery Effects index for the tutorial track. Each row links to a full guide with syntax, examples, and FAQs.
Learn the jQuery overview on /jquery. Use this page when you need an Effects API such as .animate(), .fadeIn(), or .slideToggle().
Start with .fadeIn() / .fadeOut() and .slideToggle(), then .animate()—add .stop() and .delay() when you need to interrupt or pace queued effects.
How to Call an Effects Method
Use a shorthand for common fades/slides, or .animate() for custom tweens:
$("#box").fadeIn(400);
$("#box").fadeOut("slow");
$("#panel").slideToggle(300);
$("#box").animate({ left: "+=50", opacity: 0.5 }, 600);
$("#box").delay(500).fadeIn();
$("#box").stop(true, true); // clear queue, jump to end
$.fx.off = true; // disable animations globally jQuery Effects Methods Table
All Effects method guides in this jQuery tutorial series (17 tutorials).
Custom Animation
2 methodsAnimate numeric CSS properties and pause between queued effect steps.
| Method | Description | Tutorial |
|---|---|---|
.animate() | Tween numeric CSS properties — duration, easing, complete, queue:false, and step options. | Try it |
.delay() | Pause the fx (or custom) queue for N milliseconds before the next step. | Try it |
Fading
4 methodsReveal and hide elements with smooth opacity transitions.
| Method | Description | Tutorial |
|---|---|---|
.fadeIn() | Show hidden elements by fading opacity to opaque. | Try it |
.fadeOut() | Hide elements by fading to transparent, then set display:none. | Try it |
.fadeTo() | Animate opacity to a specific value between 0 and 1 (duration required). | Try it |
.fadeToggle() | Toggle visibility with fadeIn or fadeOut based on current state. | Try it |
Sliding
3 methodsReveal and hide elements with smooth vertical slide motion.
| Method | Description | Tutorial |
|---|---|---|
.slideDown() | Show hidden elements with a vertical sliding motion. | Try it |
.slideUp() | Hide elements by sliding height to zero, then set display:none. | Try it |
.slideToggle() | Toggle visibility with slideDown or slideUp based on current state. | Try it |
Animation Control
5 methodsStop, finish, and configure global jQuery animation timing.
| Method | Description | Tutorial |
|---|---|---|
.stop() | Stop the running animation — optional clearQueue and jumpToEnd flags. | Try it |
.finish() | Stop the current animation, clear the queue, and jump every step to its end state. | Try it |
$.fx.interval | Milliseconds between animation ticks — deprecated in 3.0; ignored with requestAnimationFrame. | Try it |
$.fx.off | When true, all jQuery animations jump instantly to their final state. | Try it |
$.speed() | Normalize duration, easing, and complete into an options object for plugins. | Try it |
Queues
3 methodsManage the fx and custom function queues on selected elements.
| Method | Description | Tutorial |
|---|---|---|
.queue() | Show, add, or replace function queues — default fx effects queue. | Try it |
.dequeue() | Run the next function on the queue for matched elements. | Try it |
.clearQueue() | Remove pending queue functions that have not started yet. | Try it |
Frequently Asked Questions
Start with .animate()
Open the custom animation guide—syntax, examples, and FAQs.
16 people found this page helpful
