Cara pasang widget Recent comments dengan avatar pada sidebar!!!

Assalamualaikum

Cik Zai nak ajar tutorial ^_^

Korang jeling sikit ke kanan dan ke bawah sikitttt….Ha, korang ada tak tengok wiget yang bertajuk KOMEN TERKINI. Comeikan? Siap ada avatar lagi. 

Ha macam ni la recent comment tu..


Macam mana nak buat widget Recent comments dengan avatar (image profile) pada Sidebar? Haa nilah CZ nak ajarkan...

Tapi sebelum tu kredit to: http://maribinablog.blogspot.com/

Pertama
Log in blog > Dashboard > Design > Add A Gadget. Seterusnya klik pada HTML/Javascript.

Kedua
Salin kod di bawah dan paste pada ruang Content HTML/Javascript (rujuk langkah 1).

<style type="text/css">
#recentcomment {
width:98%;
margin-left:5px;
}
img.recentcomment-avatar {
background:#fff;
float:right;
padding:2px;
margin:2px -2px 0px 0px;
height:30px;
width:30px;
border:solid #ddd 1px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
-webkit-box-shadow: 0px 1px 0px rgba(0,0,0,0.3);
-moz-box-shadow: 1px 0px 0px rgba(0,0,0,0.3);
box-shadow: 0px 1px 0px rgba(0,0,0,0.3);
}
td div.recentcomment-content a,td div.recentcomment-content a:hover{
font-family: 'trebuchet ms';
font-size:1.00em!important;
color:#2C2929;
text-decoration:none;
}
div.recentcomment-content{
font-size:1.00em!important;
text-decoration:none;
line-height:1.45em;
letter-spacing:0.03em;
background: #fff;
padding:4px;
border:1px solid #ddd;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
-webkit-box-shadow: 0px 1px 0px rgba(0,0,0,0.3);
-moz-box-shadow: 0px 1px 0px rgba(0,0,0,0.3);
box-shadow: 0px 1px 0px rgba(0,0,0,0.3);
}
</style>

<script type="text/javascript">
ava_mode = "all";
var cm_num = 5;
var cm_desc = 13;
var homepage = "http://myshorthand.blogspot.com/";

var cm_ava = new Array();
cm_ava['openid'] = "http://3.bp.blogspot.com/-6kHTbPmPW6A/TuZpM4kzZCI/AAAAAAAAAbY/yNkCTBfl8IE/s1600/blogger.png";
cm_ava['livej'] = "http://3.bp.blogspot.com/-6kHTbPmPW6A/TuZpM4kzZCI/AAAAAAAAAbY/yNkCTBfl8IE/s1600/blogger.png";
cm_ava['wp'] = "http://3.bp.blogspot.com/-6kHTbPmPW6A/TuZpM4kzZCI/AAAAAAAAAbY/yNkCTBfl8IE/s1600/blogger.png";
cm_ava['typepad'] = "http://3.bp.blogspot.com/-6kHTbPmPW6A/TuZpM4kzZCI/AAAAAAAAAbY/yNkCTBfl8IE/s1600/blogger.png";
cm_ava['aim'] = "http://3.bp.blogspot.com/-6kHTbPmPW6A/TuZpM4kzZCI/AAAAAAAAAbY/yNkCTBfl8IE/s1600/blogger.png";
cm_ava['url'] = "http://1.bp.blogspot.com/-eUjiOVpSBmw/TuZpNJ0w8-I/AAAAAAAAAbk/MQCBeyTefdI/s1600/user.png";
cm_ava['anon'] = "http://1.bp.blogspot.com/-bCPKKy16aV4/TuZpM901nkI/AAAAAAAAAbQ/GEM1G_Nym_Y/s1600/anonymous.png";

</script>
<script src="http://javscript-code.googlecode.com/files/recent-comment-avt.js" type="text/javascript"></script>

Jangan lupa tukar yang warna merah tu taw dan akhir sekali tekan SAVE.
Siap!! ^_^
 

5 comments:

Anonymous said...

how to buy viagra online safely buy viagra online from canada - buy 10 viagra pills

Anonymous said...

* You ought to be the benefiter of the department for last 6 months at leastIf you are looking with regard to loan that will come with quick process, it is best to go for electronic payday loans simply no credit checkWhether or not you choose to art print a 6x9 publication from Lulu http://www.paydayloanfor.me.uk/ Poor credit holders and cases can also generate extra cash through these lending products even with possessing such below-average credit conditions including arrears, delayed payments, bankruptcy, defaults, overlooked payments, property foreclosure, skipping of payments and late payments

Anonymous said...

If you have to tap into your urgent fund, repay as soon as possibleIt is full of wants and most of those desires are usually directly or maybe indirectly in connection with futureMom was a health care worker, and later went back to school as a teacher http://www.paydayloanfor.me.uk This kind of advance will not impose restrictions on the folks with bad credit status

Anonymous said...

Very descriptive post, I loved that bit. Will there be a part 2?


Also visit my page - League of Legends hack

Anonymous said...

Heya i am for the first time here. I found this board and I find It really useful
& it helped me out a lot. I hope to give something back and help others like you aided me.


Stop by my page - world Of tanks hack