複合エフェクトを適用する
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="ja">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>Sample</title>
<link rel="stylesheet" href="css/main.css" type="text/css" media="all">
<script type="text/javascript" src="js/prototype.js" charset="shift_jis"></script>
<script type="text/javascript" src="js/scriptaculous.js" charset="shift_jis"></script>
<script type="text/javascript"><!--
Event.observe(window, "load", function(){
new Effect.Parallel([
new Effect.Fade("photoArea", { from:0, to:1.0}),
new Effect.BlindDown("photoArea")
]);
}, false);
// --></script>
</head>
<body>
<h1>複合エフェクト</h1>
<div id="photoArea">
<img src="images/photo001.jpg" alt="山">
<img src="images/photo002.jpg" alt="花">
</div>
</body>
</html>
説明などは本書を参考にしてください。