Home » , » Membuat Recent Comments Di Blog

Membuat Recent Comments Di Blog

  • Buka dashboard blogger
  • Lanjut ke 'layout' / 'Tata Letak'
  • Buka 'add a gadget' / 'Tambah Gadget'
  • Pilih 'html/javascript'
  • Salin Dan Paste Kode Berikut :  Download Kode Recent Comments


<style type="text/css"> ul.md_recent_comments{list-style:none;margin:0;padding:0;} .md_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;} .md_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;} .md_recent_comments li img{padding:0px;position:relative;overflow:hidden;display:block;} .md_recent_comments li span{margin-top:4px;color: #666;display: block;font-size: 12px;font-style: italic;line-height: 1.4;} </style> <script type="text/javascript"> //<![CDATA[ // Recent Comments Settings var numComments = 5, showAvatar = true, avatarSize = 60, roundAvatar = true, characters = 40, showMorelink = true, moreLinktext = "More »", defaultAvatar = "http://www.gravatar.com/avatar/?d=mm", hideCredits = true; //]]> </script> <script type="text/javascript" src="http://makingdifferent.github.com/blogger-widgets/md-recent-comments-gravatar.js"></script> <script type="text/javascript" src="http://bluelink3.blogspot.com/feeds/comments/default?alt=json&callback=md_recent_comments&max-results=5"></script>



Ganti bluelink3.blogspot.com dengan link Blog Anda, lalu simpan

NOTE: Pengaturan Gambar avatar defaul bisa diganti.

    Pengaturan Jumlah Komentar yang tampil, numComments = 5,
    Menampilkan atau tidak gambar avatar, showAvatar = true, to showAvatar = false,
    Menganti gambar default avatar, ganti "http://www.gravatar.com/avatar/?d=mm" dengan link gambar yang diinginkan.


Sumber : Detutor

0 comments:

Post a Comment