Rabu, 22 Oktober 2014

UTS_TI 1 A (SIGIT PURWANTO NIM 32141037) NOMER 5

                                CARA MENAMBAH GADGET KOMENTAR TERBARU
  1. Pertama klik tata letak

2.                  Kemudian akan muncul tampilan seperti di bawah ini klik tambahkan gadget



3.                  Kemudian akan muncul tampilan seperti di bawah ini pilih HTML/JAVA SCRIPT
4.                  Kemudian beri judul gadget kita dan isikan scriptnya
<div style="overflow:auto;width:300px;">
<style type="text/css">
ul.w2b_recent_comments{list-style:none;margin:0;padding:0;}
.w2b_recent_comments li{background:#3399FF!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: #666;display: block;font-size: 12px;font-style: none;line-height: 1.4;}
</style>
<script type="text/javascript">
//<![CDATA[
// Recent Comments Settings
var
numComments = 10,
showAvatar = true,
avatarSize = 40,
roundAvatar = true,
characters = 150,
defaultAvatar = "",
hideCredits = true;

//]]>
</script>
<script type="text/javascript" src="http://tipstrikblogging.googlecode.com/files/RecentComment-W-Gravatar.js"></script>
<script type="text/javascript" src="http://sigitpur12.blogspot.com/feeds/comments/default?alt=json&callback=w2b_recent_comments&max-results=10"></script></div>
Kemudian klik simpan dan lihat blog.




1 komentar: