Welcome to this Blog. This blog is about some Blogger Design Tips and is for my personal used. IF you have come have, just see.Everything at there were copyright from many web and some is my thing=)
Although many things were copy from but also have this word give all of you, Don't be a Copycat! always copied anything.
Just like that, Thankview=)

Nice Looking around at here.

Friday, June 24, 2011

教你添加Facebook Like Button

如果喜欢一篇文章,就可以按like一次~蛮不错的哦~
要的人就往下看吧=)

首先到Design-->Edit HTML-->Expand Widget Templates打勾
好了之后按Ctrl+F寻找<div class='post-header-line-1'/>
如果找不到就找<data:post.body/>

在他下面放上以下的代码




<iframe allowTransparency='true' expr:src='&quot;http://www.facebook.com/plugins/like.php?href=&quot; + data:post.url +&quot;&amp;layout=standard&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=arial&amp;colorscheme=light&quot;' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:450px; height:40px;'/>

--------------------------------------------------------------------


红色的字可以更改为所要的字眼。
蓝色的字可以更改字体。

好了之后按preview查看效果,可以了就按Save保存。

No comments:

Post a Comment