-
Book Overview & Buying
-
Table Of Contents
Learning jQuery, Third Edition
These effect methods may be used to perform animations on DOM elements. Effect methods are discussed in detail in Chapter 4.
|
Effect Method |
Description |
|---|---|
|
|
Display the matched elements |
|
|
Hide the matched elements |
|
|
Display the matched elements by animating |
|
|
Hide the matched elements by animating |
|
|
Display or hide the matched elements |
|
|
Display the matched elements with a sliding motion |
|
|
Hide the matched elements with a sliding motion |
|
|
Display or hide the matched elements with a sliding motion |
|
|
Display the matched elements by fading them to opaque |
|
|
Hide the matched elements by fading them to transparent |
|
|
Display or hide the matched elements with a fading animation |
|
|
Adjust the opacity of the matched elements |
|
Effect Method |
Description |
|---|---|
|
|
Perform a custom animation of the specified CSS attributes |
|
|
A lower-level interface to |
|
Effect Method |
Description |
|---|---|
|
|
Retrieve the queue of functions on the first matched element |
|
|
Add |
|
|
Replace the queue with a new one |
|
|
Execute the next function on the queue |
|
|
Empty the queue of all pending functions |
|
|
Stop the currently running animation, then start queued animations, if any |
|
|
Wait |
|
|
Return a promise object to be resolved once all queued actions on the collection have finished |
Change the font size
Change margin width
Change background colour