jQuery的fadeOut()方法

语法:

$(selector).fadeOut(speed,callback);

参数1: speed   规定元素从可见到隐藏的速度,默认值为normal

                           可能的值:

                                            number(单位为毫秒)/normal/slow/fast

                            淡入的过程中会改变透明度。

参数2:callback   规定执行完faeOut()函数后要执行的回调函数

猜你喜欢

转载自blog.csdn.net/qq_29704567/article/details/89093231