letak benda nih , korang akan dapat tengok jumlah post korang dengan comment sekali . nak letak dy senang jea . copy code bawah nih . .
1. Dashboard > Design > Page Element > Add Gadget > HTML/JAVASCRIPT
2. copy code bawah nih :
<center><script style="text/javascript">
function totalPosts(json) {
document.write('Total Posts: <b>' + json.feed.openSearch$totalResults.$t + '</b><br>');
}
function totalComments(json) {
document.write('Total Comments: <b>' + json.feed.openSearch$totalResults.$t + '</b><br>');
}
</script>
<script src=" /feeds/posts/default?alt=json-in-script&callback=totalPosts"></script>
<script src=" /feeds/comments/default?alt=json-in-script&callback=totalComments"></script></center>
<small><a href="http://tutorialuntukblog.blogspot.com/2011/01/ketahui-jumlah-post-dan-jumlah-komen.html" target="_blank"></a></small>
3. paste dalam kotak HTML/JAVASCRIPT
4. save
crdt : apit
3 ✿:
kakk , nk request tutor leyhh ta ?
@● ᴥ ● Maknae Qeen ● ᴥ ● bleh :)
@Nurhafizah p i j a Mcm mana nak buat comment box mcm akak ek.. tolong ..
Post a Comment