向上滑动
slideUp([speed, [easing], [fn]])
speed
:速度("slow"
,"normal"
,"fast"
)或者毫秒数值1000
easing
:切换效果"swing"
:慢快慢,默认"linear"
:匀速
fn
:回调函数,在动画完成时执行的函数,每个元素执行一次$().slideUp();
向下滑动
slideDown([speed, [easing], [fn]])
speed
:速度("slow"
,"normal"
,"fast"
)或者毫秒数值1000
easing
:切换效果"swing"
:慢快慢,默认"linear"
:匀速
fn
:回调函数,在动画完成时执行的函数,每个元素执行一次$().slideDown();
滑动切换
slideToggle([speed, [easing], [fn]])
speed
:速度("slow"
,"normal"
,"fast"
)或者毫秒数值1000
easing
:切换效果"swing"
:慢快慢,默认"linear"
:匀速
fn
:回调函数,在动画完成时执行的函数,每个元素执行一次$().slideToggle();