Posted by : Unknown
Thursday, December 5, 2013
Cara Membuat Random Post Berjalan Otomatis. Bagi sobat bloggers yang ingin membuat widget random post. nih saya nemu script random post running alias Random Post Berjalan.
ok langsung aja ya sob
- Login ke blogger
- Pilih Rancangan kemudian Tambah Gadget (HTML/JavaScript)
- Masukan kode HTML berikut ini:
<!-- Alphabetical/chronological Post Title Listing with comment count Start -->NB : ganti http://zevrykpm.blogspot.com/ dengan url sobat
<script type="text/javascript">
function getYpipeTL(feed) {
document.write('<marquee onmouseover="this.stop()" onmouseout="this.start()" scrollamount="1">');
var i;
for (i = 1; i < feed.count ; i++)
{
var href = "'" + feed.value.items[i].link + "'";
var pTitle = feed.value.items[i].title + "</a> | ";
var pComment = " \(" + feed.value.items[i].commentcount + " comments\)";
var pList = "</a>" + "<a href="+ href + '">' + pTitle;
document.write(pList);
document.write(pComment);
document.write('</a></li>');
}
document.write('</marquee>');
}
</script>
<script src="http://pipes.yahoo.com/pipes/pipe.run?
YourBlogUrl= http://zevrykpm.blogspot.com/
&Order=alphabet
&_id=401e43055731c1a29f1e1d3eb5e8e13f
&_callback=getYpipeTL
&_render=json"
type="text/javascript"></script>
<!-- Alphabetical Post Title Listing End -->
- simpan
selamat mencoba ^_^