语法:
$(selector).fadeOut(speed,callback);
参数1: speed 规定元素从可见到隐藏的速度,默认值为normal
可能的值:
number(单位为毫秒)/normal/slow/fast
淡入的过程中会改变透明度。
参数2:callback 规定执行完faeOut()函数后要执行的回调函数
语法:
$(selector).fadeOut(speed,callback);
参数1: speed 规定元素从可见到隐藏的速度,默认值为normal
可能的值:
number(单位为毫秒)/normal/slow/fast
淡入的过程中会改变透明度。
参数2:callback 规定执行完faeOut()函数后要执行的回调函数