Cara membuat Popular post tanpa gambar
Wednesday, April 24, 2013
Posted by Unknown
Tag :
Widget Blog
Caranya:
Login Ke Akun Blog Sobat
Pilih Rancangan -->Tambah Gadget Dan Pilih HTML Java Script
Dan Copy Paste Kode Berikut Tepat Didalamnya
<!-- Popular posts by www.curhatwithus.blogspot.com -->
<script type="text/javascript">
function getYpipePP(feed) {
document.write('<ol style="">');
var i;
for (i = 0; i < feed.count ; i++)
{
var href = "'" + feed.value.items[i].link + "'";
var pTitle = feed.value.items[i].title;
var pComment = " (" + feed.value.items[i].commentcount + ")";
var pList = "<li>" + "<a href="+ href + '" target="_blank">' + pTitle;
document.write(pList);
document.write(pComment); //to remove comment count delete this line
document.write('</a></li>
');
}
document.write('</ol>
');
}
</script>
<script src="http://pipes.yahoo.com/pipes/pipe.run?
YourBlogUrl=http://curhatwithus.blogspot.com/
&ShowHowMany=10
&_id=390e906036f48772b2ed4b5d837af4cd
&_callback=getYpipePP
&_render=json" type="text/javascript"></script>
<!-- Popular posts by www.curhatwithus.blogspot.com -->
Note : Ganti yang berwarna merah dengan url blog kamu