API/1.3/Effects
From jQuery JavaScript Library
(Redirected from
Effects)
Basics:| Name | Type |
|---|
| show( ) | Returns: jQuery |
| Displays each of the set of matched elements if they are hidden. |
| show( speed, callback ) | Returns: jQuery |
| Show all matched elements using a graceful animation and firing an optional callback after completion. |
| hide( ) | Returns: jQuery |
| Hides each of the set of matched elements if they are shown. |
| hide( speed, callback ) | Returns: jQuery |
| Hide all matched elements using a graceful animation and firing an optional callback after completion. |
| toggle( ) | Returns: jQuery |
| Toggle displaying each of the set of matched elements. |
| toggle( switch ) | Returns: jQuery |
| Toggle displaying each of the set of matched elements based upon the switch (true shows all elements, false hides all elements). |
| toggle( speed, callback ) | Returns: jQuery |
| Toggle displaying each of the set of matched elements using a graceful animation and firing an optional callback after completion. |
Sliding:| Name | Type |
|---|
| slideDown( speed, callback ) | Returns: jQuery |
| Reveal all matched elements by adjusting their height and firing an optional callback after completion. |
| slideUp( speed, callback ) | Returns: jQuery |
| Hide all matched elements by adjusting their height and firing an optional callback after completion. |
| slideToggle( speed, callback ) | Returns: jQuery |
| Toggle the visibility of all matched elements by adjusting their height and firing an optional callback after completion. |
Fading:| Name | Type |
|---|
| fadeIn( speed, callback ) | Returns: jQuery |
| Fade in all matched elements by adjusting their opacity and firing an optional callback after completion. |
| fadeOut( speed, callback ) | Returns: jQuery |
| Fade out all matched elements by adjusting their opacity to 0, then setting display to "none" and firing an optional callback after completion. |
| fadeTo( speed, opacity, callback ) | Returns: jQuery |
| Fade the opacity of all matched elements to a specified opacity and firing an optional callback after completion. |
Custom:Settings:| Name | Type |
|---|
| jQuery.fx.off | Returns: Boolean |
| Globally disable all animations. |