Sunday, 10 June 2012

Cara membuat tombol share FB di pojok blog


Langsung saja aku kasih tahu caranya:

Step:

1. Login dulu di Blogger
2. Pilih Template
3. Pilih edit HTML
4. Centang pada kotak Expand Template Widget
5. Cari kode ]]></b:skin> agar lebih cepat gunakan tombol F3
6. COPAS dan Letakkan kode berikut di atas code ]]></b:skin>


#pageshare {position:fixed; bottom:1%; right:10px; float:left; border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px; height:auto; padding:0 0 2px 0;z-index:10;}
#pageshare .sbutton {float:left;clear:both;margin:5px 5px 0 5px;}
.fb_share_count_top {width:48px !important;}
.fb_share_count_top, .fb_share_count_inner {-moz-border-radius:3px;-webkit-border-radius:3px;}
.FBConnectButton_Small, .FBConnectButton_RTL_Small {width:55px !important; -moz-border-radius:3px;-webkit-border-radius:3px;}
.FBConnectButton_Small .FBConnectButton_Text {padding:2px 2px 3px !important;-moz-border-radius:3px;-webkit-border-radius:3px;font-size:14px;}

7. Kemudian COPAS code berikut dan letakkan di atas code </body>


<div id='pageshare' title='Share @Facebook'>
<div class='sbutton' id='fb'>
<a href='http://www.facebook.com/sharer.php' name='fb_share' type='box_count'>ans!!</a><script src='http://static.ak.fbcdn.net/connect.php/js/FB.Share' type='text/javascript'/>
</div>
<div class='sbutton' id='gb'>
<script src='http://connect.facebook.net/en_US/all.js#xfbml=1'/>
<fb:like font='' layout='box_count' show_faces='false'/></div>
</div>

8. Save Template

Selamat Mencoba

Newer Post Older Post Home

2 komentar:

mas, tambahi lg donk tutorial x. q pengen kya puny mas.

thanks

Post a Comment