1. pergi ke Dashboard > Design > Add a Gadget > HTML/Javascript
2. Copy(Ctrl+C) dan paste(Ctrl+V) code dibawah pada HTML/Javascript
<!--Random Post by Faiz Tutorial-->3. Ubah tulisan merah kepada URL blog anda.
<div style="text-shadow:1px 1px 1px #adadad;">
<b><!-- Alphabetical/chronological Post Title Listing with comment count Start -->
<script type="text/javascript">
function faiz_random_post(feed) {
document.write('<marquee onmouseover="this.stop()" onmouseout="this.start()" scrollamount="2">');
var i;
for (i = 1; i < feed.count ; i++)
{
var href = "'" + feed.value.items[i].link + "'";
var faiz_tajuk = feed.value.items[i].title + "</a>";
var faiz_komen = " \(" + feed.value.items[i].commentcount + " comments\) - ";
var faiz_senarai = "</a>" + "<a href="+ href + '">' + faiz_tajuk;
document.write(faiz_senarai);
document.write(faiz_komen);
document.write('</a></li>');
}
document.write('</marquee>');
}
</script>
<script src="http://pipes.yahoo.com/pipes/pipe.run?
YourBlogUrl=http://URLbloggerANDA.blogspot.com
&Order=alphabet
&_id=401e43055731c1a29f1e1d3eb5e8e13f
&_callback=faiz_random_post
&_render=json"
type="text/javascript"></script>
<span style="font-size: 8px; float:right;"><a
href="http://faiz-tutorial.blogspot.com/2011/11/cara-membuat-random-posting-title.html">
Get Code</a></span>
<!-- Alphabetical Post Title Listing End --></b></div>
4. Save...siap...
Selamat Mencuba!!!!!
No comments:
Post a Comment