「jQuery」fadeIn()、fadeOut()でフェードイン、アウトを実現する
フェードイン
$(“button").click(function(){
$(“#div1").fadeIn();
$(“#div2").fadeIn(“slow");
$(“#div3").fadeIn(3000);
});
フェードアウト
$(“button").click(function(){
$(“#div1").fadeOut();
$(“#div2").fadeOut(“slow");
$(“#div3").fadeOut(3000);
});