<!doctype html><html><head><meta charset="utf-8"><title>無標(biāo)題文檔</title><style>*{ margin:0; padding:0;}div{ width:0; height:220px; overflow:hidden}img{ float:left; width:180px; height:220px;}</style><script src="../../jquery/jquery-3.1.0.js"></script></head><body><div><img src="img/1.jpg" ><img src="img/2.jpg"><img src="img/3.jpg"><img src="img/4.jpg"><img src="img/5.jpg"></div><script>$(function(){$("div").animate({width:"+=1100px"},11000)?}) ? </script></body></html>
想要的效果是每一張圖片都和第一張圖片一樣是滑出來的
Echo_Chien
2016-08-30 14:44:50