Home »
Tutorial Blog
» Membuat Komentar Berdampingan
<div class='comments-tab' id='fb-comments' onclick='javascript:commentToggle("#fb-comments");' title='Comments made with Facebook'>
<img class='comments-tab-icon' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZ4lsnmaeBHUIQ_oGrjiW76U0SMMXqUY9A4uXvt11OuFonvQSg1LcMSdUH3MwPjJtzfMaHaogndYjfRgbV-k-2q6C8JcFszbkzp9d3EAzggQwdouJRgpWM6N4vARq7uxjSvf91AKHCDBw/s1600/wew.png'/>
<fb:comments-count expr:href='data:post.url'/></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/AVvXsEif55mC4f3IGu4BA1vtvaO8BHPs93-JvNH1r7ZuKGQX6hyphenhyphenQmMyErBIbqpd1D2zB1HD61xQ6UtCaqAU7ziSBNhKqi3jALd0g2VaB_MH8PIlOOv34oVMiOqfAwX0Idp-MgL6jfGcGSy9llD4/s1600/wiw.png'/> <data:post.numComments/></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='10' width='500'/>
</b:if>
</div>
<div class='comments comments-page' id='blogger-comments-page'>
<script src='http://connect.facebook.net/en_US/all.js#xfbml=1'/>
<script src='http://code.jquery.com/jquery-latest.js'/>
<center><meta content='ID Facebook' property='fb:admins'/></center>
<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>
<style>.comments-page { background-color: transparent;}
#blogger-comments-page { padding: 0px 5px; display: none;}
.comments-tab { float: left; padding: 5px; margin-right: 3px; cursor: pointer; background-color: transparent;}
.comments-tab-icon { height: 40px; width:220; margin-right: 3px;}
.comments-tab:hover { background-color: transparent;}
.inactive-select-tab { background-color: transparent;}</style>
- Ganti tulisan yang berwarna biru dengan ID Facebook kalian.
- Save dan lihat hasilnya.
(?•_•)? Backlink CRAZYFUZ
Posting Komentar - Back to Content