js实现图片之间的相互切换,点击img2里的图片,使img2里的图片跟Img1交换 10
<divclass="mid1"><aclass="img1"><imgwidth="552"height="349"src="images/2.gif"></a><ac...
<div class="mid1">
<a class="img1">
<img width="552" height="349" src="images/2.gif">
</a>
<a class="img2" id="img2">
<img width="273" height="174" src="images/3.gif">
</a>
<a class="img2" id="img2">
<img width="273" height="174" src="images/4.gif">
</a>
<a class="img2" id="img2">
<img width="273" height="174" src="images/5.gif">
</a>
<a class="img2" id="img2">
<img width="273" height="174" src="images/6.gif">
</a> 展开
<a class="img1">
<img width="552" height="349" src="images/2.gif">
</a>
<a class="img2" id="img2">
<img width="273" height="174" src="images/3.gif">
</a>
<a class="img2" id="img2">
<img width="273" height="174" src="images/4.gif">
</a>
<a class="img2" id="img2">
<img width="273" height="174" src="images/5.gif">
</a>
<a class="img2" id="img2">
<img width="273" height="174" src="images/6.gif">
</a> 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询