<script> var myfigs = [ "8-3-3a.jpg", "8-3-3b.jpg", "8-3-3c.jpg" ]; </script> <body onload="mymain()"> <h1>跑馬燈的淡出淡入功能</h1> <div id='res'> <img id='myfig' src='images/8-3-3a.jpg' /> </div>