Recent Comment With Icon Tutorial for Blogspot

by - Maret 18, 2012

       Siang semua, Kali ini saya akan menShare bagaimana cara untuk menampilkan Recent Comment pada blog kalian. Caranya cukup mudah dan tidak bertele - tele. Langsung saja :



1. Login ke blog anda


2. Masuk ke Design / Rancangan


3. Pada tab page element, Anda Click Add Gadget / Tambah Gadget


4. Masukkan Kode berikut pada Add Html / Java script


<style type="text/css">
ul.w2b_recent_comments{list-style:none;margin:0;padding:0;}
.w2b_recent_comments li{background:none !important;margin:0 0 6px !important;padding:0 0 6px 0 !important;display:block;clear:both;overflow:hidden;list-style:none;}
.w2b_recent_comments li .avatarImage{padding:3px;background:#fefefe;-webkit-box-shadow:0 1px 1px #ccc;-moz-box-shadow:0 1px 1px #ccc;box-shadow:0 1px 1px #ccc;float:left;margin:0 6px 0 0;position:relative;overflow:hidden;}
.avatarRound{-webkit-border-radius:100px;-moz-border-radius:100px;border-radius:100px;}
.w2b_recent_comments li img{padding:0px;position:relative;overflow:hidden;display:block;}
.w2b_recent_comments li span{margin-top:4px;color: #ffffff;display: block;font-size: 12px;font-style: italic;line-height: 1.4;}
</style>
<script type="text/javascript">
//<![CDATA[
// Recent Comments Settings
var
numComments = 4,
showAvatar = true,
avatarSize = 60,
roundAvatar = true,
characters = 40,
showMorelink = false,
moreLinktext = "More »",
defaultAvatar = "http://www.gravatar.com/avatar/?d=mm",
hideCredits = false;
//]]>
</script>
<script type="text/javascript" src="http://bloggerblogwidgets.googlecode.com/svn/trunk/w2b-recent-comments-w-gravatar.js"></script>
<script type="text/javascript" src="http://electricshare.blogspot.com/feeds/comments/default?alt=json&callback=w2b_recent_comments&max-results=4"></script>

5. Save.

Gimana ? Sudah keliatan kan ?

Semoga Bermanfaat



Let's Share Anything

You May Also Like

1 comments

  1. ngeliat kodenya jadi tambah bingung gan ? ada tips biar jadi cepet ?

    BalasHapus