2013年5月30日 星期四

Blogger文章內,讓朋友說【讚】

原文出處 : OKWeb部落格 _ http://webok.tw/2010/12/facebook-like-button.html

至部落格設定範本位置--修改HTML--展開後找到以下程式碼:


<b:include data='post' name='post'/>


在此段程式的後面,輸入<br />這個強迫斷行的HTML標籤後貼上以下程式碼:

<script>
document.write(&#39;&lt;iframe src=&quot;http://www.facebook.com/plugins/like.php?href=<data:post.url/>&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;font=verdana&amp;colorscheme=light&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; allowTransparency=&quot;true&quot; style=&quot;border:none; overflow:hidden; width:450px; height:65px&quot;&gt;&lt;/iframe&gt;&#39;);
</script>


儲存就完成囉!!





沒有留言:

張貼留言