无缝轮播
HTML <div id="box"> <ul id="ul"> <li><img src="随堂案例/img/1.jpg" alt=""></li> <li><img src="随堂案例/img/2.jpg" alt=""></li> <li><img src="随堂案例/img/3.jpg" alt=""></li> </ul> <div id="leftright"> <aside><</aside> <aside>></aside> </div> <div id="circle"> <nav class="black"></nav> <nav></nav> <nav></nav> </div> </div> JS var oBox = document.getElementById("box"); var ul = document.getElementById("ul"); var li = document.getElementsByTagName("li"); var leftright = document.getElementById("leftright"); var circle = document.querySelectorAll("#circle>nav"); var