我知道这个问题之前已经被问过了,但我觉得我的情况稍有不同。如何将多个Facebook按钮添加到1页?
我有一个网站,我在每个页面上基本上“喜欢”该网站的全局像按钮。现在我有一个页面上有一堆照片,如果你点击每一页,它会弹出一个fancybox。
这是网页上的html。这些图像中的每一个都显示了fancybox被点击时的相应标题。
<a href="/image1.jpg" class="zoom img">
<img src="/image1.jpg" width="150" height="100" />
</a>
<a href="/image2.jpg" class="zoom img">
<img src="/image2.jpg" width="150" height="100" />
</a>
<a href="/image3.jpg" class="zoom img">
<img src="/image3.jpg" width="150" height="100" />
</a>
<div id="fancyboxTitles" style="display: none">
<div>title1</div>
<div>title2</div>
<div>title3</div>
</div>
我想要做的是在每个看中一个箱子像按钮对于特定的图像,所以当有人点击“赞”,即特定的图像将显示在Facebook上。
目前我使用iframe方法与meta标签为我的全球像按钮。
[Fancybox with“share”buttons linked to unique image](http://facebook.stackoverflow.com/questions/9252899/fancybox-with-share-buttons-linked-to-unique-image) – DMCS 2012-02-24 15:27:24