jQuery API | 返回首页目录 | jQuery API 中英文对照版 |
show(speed,callback) |
show(speed,callback)
以优雅的动画显示所有匹配的元素,并在显示完成后可选地触发一个回调函数。 可以根据指定的速度动态地改变每个匹配元素的高度、宽度和不透明度。 返回值:jQuery 参数:
示例: $("p").show("slow"); 示例: $("p").show("slow",function(){ alert("Animation Done."); }); Show all matched elements using a graceful animation and firing an optional callback after completion. The height, width, and opacity of each of the matched elements are changed dynamically according to the specified speed. Return value: jQuery
Example: $("p").show("slow"); Example: $("p").show("slow",function(){ alert("Animation Done."); }); |