.Assalamualaikum !
Peacee ^_^v
Selamat Mencuba ! >.<
Haiyyy , seperti yang Lyssa janji , semalam ada orang asked Lyssa macam mana nak buat "Pengomen Terhebat" dekat blog Lyssa tuhh . Alahaii . Biasa lah tuhh . haha . Pantang benda baru dekat blog Lyssa . kompom ada mata yang nampak punya. huhu >.<
Hehehe . Oraitt . Now , Lyssa akan Ajarkan korang , macam mana nak buat yang jenis macam ini :
1. Dashboard > Design > Add a Gadget > Html/JavaScript
2. Korang Copy kod di bawah ni :
<!-- Top Commentators Cloud Start
(c) 2010 Blogger Sentral. Original code by http://www.bloggersentral.com/. Please do not remove this credit and the “Get this commentators widget” link at the bottom of the code.-->
<div style="text-align:justify;line-height:1.2;">
<script type="text/javascript">
function cCloud(feed) {
max = 0;
min = 10000;
//finding highest and lowest count
for (i=0;i<feed.count;i++)
{
ccCount = feed.value.items[i].commentcount * 1;
if (ccCount > max)
{
max = ccCount;
}
if (ccCount < min)
{
min = ccCount;
}
}
ccCountD = "";
display = "";
for (j=0;j<feed.count;j++)
{
ccdiff = feed.value.items[j].commentcount - min;
ccFontsize = 80 + (ccdiff * 100) / (max - min) + "%";
ccUrl = "'" + feed.value.items[j].authorurl + "'";
ccCountD = "(" + feed.value.items[j].commentcount + ")";//comment count
ccName = feed.value.items[j].title + ccCountD;
ccLName = "<a style='font-size:" + ccFontsize + "' href=" + ccUrl + " target='_blank'>" + ccName + "</a>";//clickable commentator name
display = display + ccLName + " ";
}
document.write(display);
}
</script>
<script src="http://pipes.yahoo.com/pipes/pipe.run?
YourBlogUrl=http://www.lyssasecret.com/
&Exclusions=Lyssa Faizureen
&ShowHowMany=10
&Order=frequency
&_callback=cCloud
&_id=cfa196644e1d6159c9183548c4b5e2f5
&_render=json"
type="text/javascript"></script>
</div>
<!-- Top Commentators Cloud End -->
3. Paste di ruangan Html/JavaScript tuh :)
4. Korang dikehendaki menukar warna merah yang tersedia ada di situ .
** URL blog korang dengan Nama Blog Korang :)
5. Lepas dah tukar , korang boleh lah SAVE !!
6. Tunggu ada orang komen , baru benda tuh akan berfungsi ! Kadang - kadang memang ianya tak akan berfungsi . Ntah kenapa Lyssa pun tak tahu . hahahaha . Okeyy lah !
No comments:
Post a Comment