jQuery fadeIn() 用于淡入已隐藏的元素。
方法参数可以取"slow"、“fast” 或毫秒。
$(“button”).click(function(){
$("#div1").fadeIn();
$("#div2").fadeIn(“slow”);
$("#div3").fadeIn(3000);
});
jQuery fadeIn() 用于淡入已隐藏的元素。
方法参数可以取"slow"、“fast” 或毫秒。
$(“button”).click(function(){
$("#div1").fadeIn();
$("#div2").fadeIn(“slow”);
$("#div3").fadeIn(3000);
});