Online computer courses, code, programming tutorial and sidebar information for monitoring Canadian S&P/TSX index. Build friendship and networking. Welcome to visit my blogs often!!! I also have two other sites: YouTube Channel and Google site.
Adsense
Popular Posts
- How to blend adsense inside your post?
- Formatting my post
- PHPWind-- A PHP forum script applcaition in China
- ActionScript 3.0 demo: create a falling snow in flash CS6
- PHP: add a download as pdf file button in report page
- Notepad++ - Add C++ compiler
- Datatable export excel wraptext and newline
- phpexcel toggle expand and hide column in EXCEL and summary
- PHP - Export Content to MS Word document
- PHP connect IBM db2 database in XAMPP
Tuesday, February 1, 2011
Add facebook like and unlike button in each post in your blog
Result: see my blog. The step is as follow:
1) Log into your blogger account, then go to Layout and click Edit Html.
2) Check Expand Widget Templates box.
3) Find the Code
<div class='post-header-line-1'/>
4) Copy the following code just right under <div class='post-header-line-1'/>
<iframe allowTransparency='true' expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&layout=standard&show_faces=false&width=100&action=like&font=arial&colorscheme=light"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:450px; height:40px;'/>
5) Click save template
6) Done!
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment