我的网站way2enjoy.com首页上的照片很少,当用户点击这些相册时,几张照片以facebox风格打开,我把facebook放在那个按钮上,但我很惊讶地看到你点击的是什么图像在20组图像中,第一次点击图像将显示Facebook像按钮,而其他图像将不显示任何类似按钮。对于每张专辑,有几张照片,但我无法显示像按钮。
我的Facebook代码是
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1&appId=114744998704777";
fjs.parentNode.insertBefore(js, fjs);
}(document, \'script\', \'facebook-jssdk\'));</script><div class="fb-like" data- send="true" data-width="450" data-show-faces="true"></div>
欢迎任何指南/建议
第一张图片的我的facebook html代码是
<table class="uiGrid" cellspacing="0" cellpadding="0"><tbody><tr><td class="vTop hCent"><div><form rel="async" ajaxify="/plugins/like/connect" method="post" action="/plugins/like/connect" onsubmit="return window.Event && Event.__inlineSubmit && Event.__inlineSubmit(this,event)" id="u_0_1"><input type="hidden" name="fb_dtsg" value="AQCQ7J4N" autocomplete="off"><input type="hidden" autocomplete="off" name="href" value="http://way2enjoy.com/"><input type="hidden" autocomplete="off" name="action" value="like"><input type="hidden" autocomplete="off" name="nobootload"><input type="hidden" autocomplete="off" name="iframe_referer" value="http://way2enjoy.com/"><input type="hidden" autocomplete="off" name="ref"><div class="pluginConnectButton"><div class="pluginButton pluginButtonInline pluginConnectButtonDisconnected" title=""><div><button type="submit"><i class="pluginButtonIcon img sp_like-send sx_like-send_thumb"></i>Like</button></div></div> <div class="pluginButton pluginButtonPressed pluginButtonInline pluginButtonX pluginConnectButtonConnected hidden_elem" title=""><div><button type="submit"><i class="pluginButtonIcon pluginButtonXOff img sp_like-send sx_like-send_ch"></i><i class="pluginButtonIcon pluginButtonXOn img sp_like-send sx_like-send_x" title=""></i> </button>Like</div></div></div></form></div></td><td class="vTop pls"><table class="uiGrid pluginSend" cellspacing="0" cellpadding="0" width="100%" id="u_0_2"><tbody><tr><td><div class="pluginButton pluginSendInactive"><div><button type="submit"><i class="pluginButtonIcon img sp_like-send sx_like-send_send"></i>Send</button></div></div> <div class="pluginButton pluginButtonPressed pluginSendActive hidden_elem"><div><button type="submit"><i class="pluginButtonIcon img sp_like-send sx_like-send_sendp"></i>Send</button></div></div></td></tr></tbody></table></td><td class="pls" style="width: 90%"><div style="padding-left: 19px;" class="uiIconText"><i class="img sp_like-send sx_like-send_fav" style="top: 0px;"></i><span class="hidden_elem" id="u_0_3">You and 9 others like this.</span><span id="u_0_4">9 people like this. Be the first of your friends. </span></div></td></tr></tbody></table>