显示
show([speed, [easing], [fn]])
speed
:速度("slow"
,"normal"
,"fast"
)或者毫秒数值1000
easing
:切换效果"swing"
:慢快慢,默认"linear"
:匀速
fn
:回调函数,在动画完成时执行的函数,每个元素执行一次$().show();
隐藏
hide([speed, [easing], [fn]])
speed
:速度("slow"
,"normal"
,"fast"
)或者毫秒数值1000
easing
:切换效果"swing"
:慢快慢,默认"linear"
:匀速
fn
:回调函数,在动画完成时执行的函数,每个元素执行一次$().hide();
切换显示隐藏
toggle([speed, [easing], [fn]])
speed
:速度("slow"
,"normal"
,"fast"
)或者毫秒数值1000
easing
:切换效果"swing"
:慢快慢,默认"linear"
:匀速
fn
:回调函数,在动画完成时执行的函数,每个元素执行一次$().toggle();