如何启动灯箱点击图标?

时间:2015-09-13 20:00:37

标签: jquery lightbox

我有这个图标:

<a href="#" class="image-search08">
  <i class="fa fa-search-plus image-search-icon"></i>
</a>

如何启动灯箱并打开它:&lt; img src="img/09.png" data-lightbox="09" class="image-frame" />点击i图标?

1 个答案:

答案 0 :(得分:0)

对于Lightbox2,试试这个:

<a href="img/09.png" class="image-search08" data-lightbox="09">
<i class="fa fa-search-plus image-search-icon"></i>
</a>