jQuery实现图片轮播
html代码 <div id="banner"> <ul id="imgList"> <li><a href="#"><img src="img/1bg_shoulei.jpg" alt=""></a></li> <li><a href="#"><img src="img/2bg_xnet.jpg" alt=""></a></li> <li><a href="#"><img src="img/3bg_member.jpg" alt=""></a></li> <li><a href="#"><img src="img/4bg_xkn.jpg" alt=""></a></li> <li><a href="#"><img src="img/5bg_xav.jpg" alt=""></a></li> </ul> <div id="circle"> </div> <div id="focus"> <span id="focusLeft"><</span> <span id="focusRight">></span> </div> </div> css代码 *{ padding: 0; margin: 0; } #banner{ width: 730px; height: 454px; margin: 100px auto; border: 1px solid #ccc; overflow: