Thursday, January 20, 2011

SPICE-UP UR BLOG : add facebook 'like' button to your blog

macam mana nak buat fb like button?
macam ini

okay. senang je. ikot steps bawah okay.

dashboard  design  edit HTML  tick 'expand widget template' 

then tekan CTRL+F( tekan serentak) and type data:post.body

 copy code ini

<iframe allowTransparency='true' expr:src='"" + data:post.url + "&amp;layout=standard&amp;show-faces=true&amp;width=530&amp;height=60&amp;action=like&amp;colorscheme=light"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:530px; height:60px'/>

 pastekan kat bawah data:post.body yang cari tadi tuh.

 save. or nak preview first baru save. ikot suke hati u all. tuh je. :) 

selamat torai!

No comments:

Related Posts Plugin for WordPress, Blogger...