#start3{ width: 400px; height: 400px; }
<div id="start3"><img src="img/dongtu1.png" alt="" id="dong" width="70px" height="100px"></div>
<script> //控制封面动图 window.οnlοad=function(){ var count=0; var oImg=document.getElementById("dong"); var dingshi= setInterval(function () { oImg.src="img/dongtu"+count+".png"; count++; if(count==6){count=0;} },300); }