循环的几个div,div中有文字说明的div和图片的div怎样能达到分别点击当前的文字div就让其后图片的div显示
<divclass="a"><divclass="b"><imgsrc="images/sjx.jpg"/>说明文字</div><divclass="c"><imgsrc...
<div class="a" >
<div class="b" > <img src="images/sjx.jpg" /> 说明文字</div>
<div class="c" ><img src="images/hytq4.jpg" /></div>
</div>
<div class="a" >
<div class="b" > <img src="images/sjx.jpg" /> 说明文字</div>
<div class="c" ><img src="images/hytq4.jpg" /></div>
</div>
<div class="a" >
<div class="b" > <img src="images/sjx.jpg" /> 说明文字</div>
<div class="c" ><img src="images/hytq4.jpg" /></div>
</div> 展开
<div class="b" > <img src="images/sjx.jpg" /> 说明文字</div>
<div class="c" ><img src="images/hytq4.jpg" /></div>
</div>
<div class="a" >
<div class="b" > <img src="images/sjx.jpg" /> 说明文字</div>
<div class="c" ><img src="images/hytq4.jpg" /></div>
</div>
<div class="a" >
<div class="b" > <img src="images/sjx.jpg" /> 说明文字</div>
<div class="c" ><img src="images/hytq4.jpg" /></div>
</div> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询