(^578) ❘ APPENDIX M ANIMATION AND EASING EFFECTS
slideDown(
[duration]
[, easing]
[, function()]
)
Slides down (shows) each selected element using
a preset animation. The duration is either a time in
milliseconds or a time preset: "slow", "normal", or
"fast".
The easing can be either default easings "linear"
or "swing", or any easing documented below,
assuming you have installed the requisite additional
easings as part of jQuery UI.
The optional callback function is executed when the
animation has completed. this refers to the element.
jQuery
slideToggle(
[duration]
[, function()]
)
Toggles each selected element between displayed
and hidden by animating the element’s height.
The duration is either a time in milliseconds or a
time preset: "slow", "normal", or "fast". An
optional callback function can be executed when
sliding has completed. This refers to the element
being slid within the callback function.
jQuery
slideToggle(options) Toggles each selected element between displayed
and hidden by animating each element’s height.
Animation is carried out with the specifi ed object of
options. See the “Animation Options” section later
in this appendix.
jQuery
slideToggle(
[duration]
[, easing]
[, function()]
)
Toggles the sliding animation for each selected
element using a preset animation. The duration
is either a time in milliseconds or a time preset:
"slow", "normal", or "fast".
The easing can be either default easings "linear"
or "swing", or any easing documented below,
assuming you have installed the requisite additional
easings as part of jQuery UI.
The optional callback function is executed when the
animation has completed. this refers to the element.
jQuery
slideUp(
[duration]
[, function()]
)
Slides up (hides) each selected element using an
animation. The duration is either a time in milliseconds
or a time preset: "slow", "normal", or "fast".
An optional callback function can be executed when
sliding has completed. this refers to the element
being slid within the callback function.
jQuery
slideUp(options) The slideUp animation is carried out with the
specifi ed object of options. See the “Animation
Options” section later in this appendix.
jQuery
(continued)
http://www.it-ebooks.info
elliott
(Elliott)
#1