引入jq
<script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
结构:
<div> <div> <img src="img/1.jpg" bigUrl="img/1.jpg" alt=""> </div> <div> <img src="img/2.jpg" bigUrl="img/2.jpg" alt=""> </div> <div> <img src="img/3.jpg" bigUrl="img/3.jpg" alt=""> </div> <div> <img src="img/4.jpg" bigUrl="img/4.jpg" alt=""> </div> <div> <img src="img/5.jpg" bigUrl="img/5.jpg" alt=""> </div> <div> <img src="img/6.jpg" bigUrl="img/6.jpg" alt=""> </div> <div> <img src="img/6.jpg" bigUrl="img/6.jpg" alt=""> </div> <div> <img src="img/6.jpg" bigUrl="img/6.jpg" alt=""> </div> <div> <img src="img/6.jpg" bigUrl="img/6.jpg" alt=""> </div> </div>