2011-09-07 85 views
0

我试图让一个画廊与高山滑雪。与两个不同的缩略图Highslide画廊

我有两个缩略图,一个较大但裁剪的页面上打开大图像,如果点击,和一个较小的拇指带纵横比变化。

如何配置highslide实际为拇指带使用不同的图像?

例如,这是标记的一部分:

<a href="highslide/sample-images/picture12.jpg" class="highslide" 
     title="Caption from the anchor's title attribute" 
     onclick="return hs.expand(this, config1)"> 
    <img src="highslide/sample-images/picture12.thumb.jpg" alt=""/> 
</a> 

的链接所指向的大画面,IMG被示出被裁剪的缩略图。

我可以覆盖的功能,例如使用两个缩略图像:

<a href="highslide/sample-images/picture12.jpg" class="highslide" 
     title="Caption from the anchor's title attribute" 
     onclick="return hs.expand(this, config1)"> 
    <img class="thumb" src="highslide/sample-images/picture12.thumb.jpg" alt=""/> 
    <img class="strip" src="highslide/sample-images/picture12.strip.jpg" style="display: none" alt="" /> 
</a> 

回答

相关问题