2015-03-02 55 views
0

我有這個燈箱畫廊:燈箱 - 有1個圖像鏈接到一個畫廊

<div class="image-row"> 
           <div class="image-set"> 
             <a class="example-image-link" href="img/demopage/image-3.jpg" data-lightbox="example-set" data-title="Click the right half of the image to move forward."><img class="example-image" src="img/demopage/thumb-3.jpg" alt=""/></a> 
             <a class="example-image-link" href="img/demopage/image-4.jpg" data-lightbox="example-set" data-title="Or press the right arrow on your keyboard."><img class="example-image" src="img/demopage/thumb-4.jpg" alt="" /></a> 
             <a class="example-image-link" href="img/demopage/image-5.jpg" data-lightbox="example-set" data-title="The next image in the set is preloaded as you're viewing."><img class="example-image" src="img/demopage/thumb-5.jpg" alt="" /></a> 
             <a class="example-image-link" href="img/demopage/image-6.jpg" data-lightbox="example-set" data-title="Click anywhere outside the image or the X to the right to close."><img class="example-image" src="img/demopage/thumb-6.jpg" alt="" /></a> 
           </div> 
         </div> 

但是這將顯示所有圖像的縮略圖,我期待有1個圖像,當你點擊它,用戶能夠通過所有圖像....我希望這是有道理的。

+1

您是否嘗試過使用CSS來隱藏'。實例圖像-link'鏈接,你不不想要? – 2015-03-02 16:27:12

回答

-1

只需更換example-setexample-1爲第1圖像,並 example-setexample-2在同一頁第2圖像

相關問題