根據單擊的圖像更改段落的最簡單方法是什麼?這裏是內容看起來像JSFIDDLE減去段落的顯示。根據您點擊的圖像,圖像下方的段落將一次顯示1個。單擊鏈接時顯示和隱藏段落
<div class="content">
<div class="memberPhotoWrapper">
<div class="memberPhotos">
<a href="#"><img class="member1Photo" src="http://s30.postimg.org/gpichz4n1/portraitplaceholder.jpg" alt="" title=""></a>
<a href="#"><img class="member2Photo" src="http://s30.postimg.org/gpichz4n1/portraitplaceholder.jpg" alt="" title=""></a>
<a href="#"><img class="member3Photo" src="http://s30.postimg.org/gpichz4n1/portraitplaceholder.jpg" alt="" title=""></a>
<a href="#"><img class="member4Photo" src="http://s30.postimg.org/gpichz4n1/portraitplaceholder.jpg" alt="" title=""></a>
</div>
</div>
<div class="memberIntros">
<div class="member1Intro">
<h3>User Name</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse.</p>
</div>
<div class="member2Intro">
<h3>User Name</h3>
<p>PSed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos.</p>
</div>
<div class="member3Intro">
<h3>User Name</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse.</p>
</div>
<div class="member4Intro">
<h3>User Name</h3>
<p>PSed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos.</p>
</div>
</div>
</div>
事情是[**這**](http://jsfiddle.net/M7DhU/5/)? – akinuri
@akinuri是的,謝謝你的幫助! –
和其他所有花時間的人! –