Cara buat komentar facebook dan blog bersebelahan |
Login Blog anda lalu pilih Template >>> Edit HTML setelah itu mulai dari langkah pertama simak ya.
Pertama cari kode ]]></b:skin> lalu letakkan source berikut diatas kode ]]></b:skin>
.comments-page { background-color: #f2f2f2;}
#blogger-comments-page { padding: 0px 5px; display: none;}
.comments-tab { float: left; padding: 5px; margin-right: 3px;
cursor: pointer; background-color: #f2f2f2;}
.comments-tab-icon { height: 14px; width: auto; margin-right: 3px;}
.comments-tab:hover { background-color: #eeeeee;}
.inactive-select-tab { background-color: #d1d1d1;}
<script src='http://connect.facebook.net/en_US/all.js#xfbml=1'/>
<script src='http://code.jquery.com/jquery-latest.js'/>
<meta content='egon.novsky' property='fb:admins'/>
<script type='text/javascript'>
function commentToggle(selectTab) {
$(".comments-tab").addClass("inactive-select-tab");
$(selectTab).removeClass("inactive-select-tab");
$(".comments-page").hide();
$(selectTab + "-page").show();
}
</script>
Ketiga atau langkah terakhir cari kode <div class='comments' id='comments'> lalu letakkan source berikut dibawah kode <div class='comments' id='comments'>
<div class='comments-tab' id='fb-comments' onclick='javascript:commentToggle("#fb-comments");' title='Comments made with Facebook'>
<img class='comments-tab-icon' src='http://static.ak.fbcdn.net/rsrc.php/v1/yH/r/eIpbnVKI9lR.png'/>
<fb:comments-count expr:href='data:post.url'/> Comments
</div>
<div class='comments-tab inactive-select-tab' id='blogger-comments' onclick='javascript:commentToggle("#blogger-comments");' title='Comments from Blogger'>
<img class='comments-tab-icon' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsfM1Wd1itcmIxkbYb47TMKmC9qH8HyK0fxk4f2CbBKOCO8dTFeWgqditlejm3Z9o3C2uMCuIrRpxaf-7htgRZcrI9K_5HTCMIKQ07LfZDUAofWv4AwWs056WlHZo7x5RFIogA7rPmvBk/s200/favicon.ico'/><data:post.numComments/>Comments</div><div class='clear'/>
</div>
<div class='comments-page' id='fb-comments-page'>
<b:if cond='data:blog.pageType == "item"'>
<div id='fb-root'/>
<fb:comments expr:href='data:post.url' num_posts='5' width='400'/>
</b:if>
</div>
<div class='comments comments-page' id='blogger-comments-page'>
[ Sumber ]
makasih gan tutorialnya.. menarik sekali untuk dicoba..
BalasHapustapi berat kagak nih??
lzmodern.blogspot.com
sama2 bro :)
BalasHapusmantap tutornya sob.makasih
BalasHapusMantab gan nice share, di tunggu kunbalnya ya
BalasHapusmantap dah artikel nya tq ka
BalasHapusane coba ya gan?
BalasHapusjgn lupa kunjungan balik nya?
ikut nyimak gan, tpi temlate blog saya sudah ada koment fb,, folbek ya dan kunjungan nya
BalasHapuseh berhasil gan .. thanks yah udah share trik ini :)
BalasHapusKeren gan boleh di coba nih
BalasHapussukses dicoba
BalasHapushttp://mahasiswabokek.blogspot.com/ visit juga ya bang
sukses dicoba
BalasHapusvisit juga ya bang http://mahasiswabokek.blogspot.com/