Blogger
ada menyediakan widget recent post yang memaparkan posting posting
terkini.Recent post ini memaparkan thumbnail juga jumlah komen pada
posting.Tapi kekurangan nya adalah bersifat statik.Recent post ini
bergerak ini lebih menarik perhatian pengunjung untuk melihat artikel
artikel lain yang ada pada blog kita
Caranya:
Masuk ke Design:
Pada Page Element-Pilih Add Gadget
HTML/Javascript
Dan masukkan kod dibawah ini:
<center>
<script src="https://sites.google.com/site/teknikbuatblog/tbb/jquerry.js?attredirects=0&d=1" type="text/javascript"></script>
<style type="text/css" media="screen">
<!--
#spylist {
overflow:hidden;
margin-top:5px;
padding:0px 0px;
height:350px;
}
#spylist ul{
list-style-type: none;
padding: 0px 0px;
margin:0px 0px;
}
#spylist li {
margin:0px 0px 5px 0px;
list-style-type:none;
float:none;
height:70px;
overflow: hidden;
background:#fff url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi69C254A6g6MPqJ-QbASqCEqDpZQBW-uYg7205Qhyphenhyphenyy_NLlYDkfqZoxmhhyxe2NwfB9ZtZISL-iERxFHp88lMr4yPStWfsWv_ibH9ZMKuyNjlYRSnlwsz5OWNiQcaBfh46WfO7VU_7HSc/s1600/teknikbuatblogblogspot-com.jpg) repeat-x;
border:1px solid #ddd;
}
#spylist li a {
text-decoration:none;
color:#4B545B;
font-size:11px;
height:18px;
overflow:hidden;
margin:0px 0px;
padding:0px 0px 2px 0px;
}
#spylist li img {
float:left;
margin-right:5px;
background:#A9A9F5;
border:0;
}
.spydate{
overflow:hidden;
font-size:10px;
color:#0284C2;
padding:2px 0px;
margin:1px 0px 0px 0px;
height:15px;
font-family:Tahoma,Arial,verdana, sans-serif;
}
.spycomment{
overflow:hidden;
font-family:Tahoma,Arial,verdana, sans-serif;
font-size:10px;
color:#262B2F;
padding:0px 0px;
margin:0px 0px;
}
-->
</style>
<script language='javascript'>
imgr = new Array();
imgr[0] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4Dr17AYx0pfraZ3ewGnMuNuzyakmSNtBJToyVIJPsbBAH_oO6MzzXUWAOJeM6bdOXfNoF_DBMOkPX6beBM1nI3hg_5xRnUi3ePjJ74SAAzkYCuicmYhyphenhyphen0RqvpOnCvq_kC2oGWzpf9EeE/s1600/no_image+.gif";
imgr[1] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4Dr17AYx0pfraZ3ewGnMuNuzyakmSNtBJToyVIJPsbBAH_oO6MzzXUWAOJeM6bdOXfNoF_DBMOkPX6beBM1nI3hg_5xRnUi3ePjJ74SAAzkYCuicmYhyphenhyphen0RqvpOnCvq_kC2oGWzpf9EeE/s1600/no_image+.gif";
imgr[2] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4Dr17AYx0pfraZ3ewGnMuNuzyakmSNtBJToyVIJPsbBAH_oO6MzzXUWAOJeM6bdOXfNoF_DBMOkPX6beBM1nI3hg_5xRnUi3ePjJ74SAAzkYCuicmYhyphenhyphen0RqvpOnCvq_kC2oGWzpf9EeE/s1600/no_image+.gif";
imgr[3] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4Dr17AYx0pfraZ3ewGnMuNuzyakmSNtBJToyVIJPsbBAH_oO6MzzXUWAOJeM6bdOXfNoF_DBMOkPX6beBM1nI3hg_5xRnUi3ePjJ74SAAzkYCuicmYhyphenhyphen0RqvpOnCvq_kC2oGWzpf9EeE/s1600/no_image+.gif";
imgr[4] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4Dr17AYx0pfraZ3ewGnMuNuzyakmSNtBJToyVIJPsbBAH_oO6MzzXUWAOJeM6bdOXfNoF_DBMOkPX6beBM1nI3hg_5xRnUi3ePjJ74SAAzkYCuicmYhyphenhyphen0RqvpOnCvq_kC2oGWzpf9EeE/s1600/no_image+.gif";
showRandomImg = true;
boxwidth = 255;
cellspacing = 6;
borderColor = "#232c35";
bgTD = "#000000";
thumbwidth = 70;
thumbheight = 70;
fntsize = 12;
acolor = "#666";
aBold = true;
icon = " ";
text = "comments";
showPostDate = true;
summaryPost = 40;
summaryFontsize = 10;
summaryColor = "#666";
icon2 = " ";
numposts = 10;
home_page = "http://teknikbuatblog.blogspot.com/";
limitspy=4
intervalspy=4000
</script>
<div id="spylist">
<script src='https://sites.google.com/site/teknikbuatblog/tbb/tbb.js?attredirects=0&d=1' type='text/javascript'></script>
</div><a href="http://teknikbuatblog.blogspot.com/2010/12/cara-pasang-widget-animated-recent-post.html">
<font size="1">get this widget</font></a></center>
<script src="https://sites.google.com/site/teknikbuatblog/tbb/jquerry.js?attredirects=0&d=1" type="text/javascript"></script>
<style type="text/css" media="screen">
<!--
#spylist {
overflow:hidden;
margin-top:5px;
padding:0px 0px;
height:350px;
}
#spylist ul{
width:220px;
overflow:hidden;list-style-type: none;
padding: 0px 0px;
margin:0px 0px;
}
#spylist li {
width:208px;
padding: 5px 5px;margin:0px 0px 5px 0px;
list-style-type:none;
float:none;
height:70px;
overflow: hidden;
background:#fff url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi69C254A6g6MPqJ-QbASqCEqDpZQBW-uYg7205Qhyphenhyphenyy_NLlYDkfqZoxmhhyxe2NwfB9ZtZISL-iERxFHp88lMr4yPStWfsWv_ibH9ZMKuyNjlYRSnlwsz5OWNiQcaBfh46WfO7VU_7HSc/s1600/teknikbuatblogblogspot-com.jpg) repeat-x;
border:1px solid #ddd;
}
#spylist li a {
text-decoration:none;
color:#4B545B;
font-size:11px;
height:18px;
overflow:hidden;
margin:0px 0px;
padding:0px 0px 2px 0px;
}
#spylist li img {
float:left;
margin-right:5px;
background:#A9A9F5;
border:0;
}
.spydate{
overflow:hidden;
font-size:10px;
color:#0284C2;
padding:2px 0px;
margin:1px 0px 0px 0px;
height:15px;
font-family:Tahoma,Arial,verdana, sans-serif;
}
.spycomment{
overflow:hidden;
font-family:Tahoma,Arial,verdana, sans-serif;
font-size:10px;
color:#262B2F;
padding:0px 0px;
margin:0px 0px;
}
-->
</style>
<script language='javascript'>
imgr = new Array();
imgr[0] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4Dr17AYx0pfraZ3ewGnMuNuzyakmSNtBJToyVIJPsbBAH_oO6MzzXUWAOJeM6bdOXfNoF_DBMOkPX6beBM1nI3hg_5xRnUi3ePjJ74SAAzkYCuicmYhyphenhyphen0RqvpOnCvq_kC2oGWzpf9EeE/s1600/no_image+.gif";
imgr[1] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4Dr17AYx0pfraZ3ewGnMuNuzyakmSNtBJToyVIJPsbBAH_oO6MzzXUWAOJeM6bdOXfNoF_DBMOkPX6beBM1nI3hg_5xRnUi3ePjJ74SAAzkYCuicmYhyphenhyphen0RqvpOnCvq_kC2oGWzpf9EeE/s1600/no_image+.gif";
imgr[2] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4Dr17AYx0pfraZ3ewGnMuNuzyakmSNtBJToyVIJPsbBAH_oO6MzzXUWAOJeM6bdOXfNoF_DBMOkPX6beBM1nI3hg_5xRnUi3ePjJ74SAAzkYCuicmYhyphenhyphen0RqvpOnCvq_kC2oGWzpf9EeE/s1600/no_image+.gif";
imgr[3] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4Dr17AYx0pfraZ3ewGnMuNuzyakmSNtBJToyVIJPsbBAH_oO6MzzXUWAOJeM6bdOXfNoF_DBMOkPX6beBM1nI3hg_5xRnUi3ePjJ74SAAzkYCuicmYhyphenhyphen0RqvpOnCvq_kC2oGWzpf9EeE/s1600/no_image+.gif";
imgr[4] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4Dr17AYx0pfraZ3ewGnMuNuzyakmSNtBJToyVIJPsbBAH_oO6MzzXUWAOJeM6bdOXfNoF_DBMOkPX6beBM1nI3hg_5xRnUi3ePjJ74SAAzkYCuicmYhyphenhyphen0RqvpOnCvq_kC2oGWzpf9EeE/s1600/no_image+.gif";
showRandomImg = true;
boxwidth = 255;
cellspacing = 6;
borderColor = "#232c35";
bgTD = "#000000";
thumbwidth = 70;
thumbheight = 70;
fntsize = 12;
acolor = "#666";
aBold = true;
icon = " ";
text = "comments";
showPostDate = true;
summaryPost = 40;
summaryFontsize = 10;
summaryColor = "#666";
icon2 = " ";
numposts = 10;
home_page = "http://teknikbuatblog.blogspot.com/";
limitspy=4
intervalspy=4000
</script>
<div id="spylist">
<script src='https://sites.google.com/site/teknikbuatblog/tbb/tbb.js?attredirects=0&d=1' type='text/javascript'></script>
</div><a href="http://teknikbuatblog.blogspot.com/2010/12/cara-pasang-widget-animated-recent-post.html">
<font size="1">get this widget</font></a></center>
Dibawah ini adalah kod bagi anda yang inginkan widget ini dalam bentuk yang lebih kecil untuk disesuaikan untuk sidebar yang ruangnya agak terhad.
<center>
<script src="https://sites.google.com/site/teknikbuatblog/tbb/jquerry.js?attredirects=0&d=1" type="text/javascript"></script>
<style type="text/css" media="screen">
<!--
#spylist {
overflow:hidden;
margin-top:3px;
padding:0px 0px;
height:300px;
}
#spylist ul{
width:148px;
overflow:hidden;
list-style-type: none;
padding: 0px 0px;
margin:0px 0px;
}
#spylist li {
width:145px;
padding: 1px 1px;
margin:0px 0px 2px 0px;
list-style-type:none;
float:none;
height:50px;
overflow: hidden;
background:#fff url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDJgrYMwb5qfAVKn2NRHf8A1TzPcAMilRBLTbNcskUvodHqOPDoC5j7ShmhqAj5S9WMZCbjECGZnPg_-A_yWFbGMcN-LXeKghugLvLvWPEN3fDrmkL0Oq3yKaoj-sfeyqm8MnhhfboAu4/s1600/back2.png) repeat-x;
border:1px solid #ddd;
}
#spylist li a {
text-decoration:none;
color:#4B545B;
font-size:10px;
height:10px;
overflow:hidden;
margin:0px 0px;
padding:0px 0px 0px 0px;
}
#spylist li img {
float:left;
margin-right:2px;
background:#A9A9F5;
border:0;
}
.spydate{
overflow:hidden;
font-size:8px;
color:#0284C2;
padding:2px 0px;
margin:1px 0px 0px 0px;
height:10px;
font-family:Tahoma,Arial,verdana, sans-serif;
}
.spycomment{
overflow:hidden;
font-family:Tahoma,Arial,verdana, sans-serif;
font-size:8px;
color:#262B2F;
padding:0px 0px;
margin:0px 0px;
}
-->
</style>
<script language='javascript'>
imgr = new Array();
imgr[0] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4Dr17AYx0pfraZ3ewGnMuNuzyakmSNtBJToyVIJPsbBAH_oO6MzzXUWAOJeM6bdOXfNoF_DBMOkPX6beBM1nI3hg_5xRnUi3ePjJ74SAAzkYCuicmYhyphenhyphen0RqvpOnCvq_kC2oGWzpf9EeE/s1600/no_image+.gif";
imgr[1] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4Dr17AYx0pfraZ3ewGnMuNuzyakmSNtBJToyVIJPsbBAH_oO6MzzXUWAOJeM6bdOXfNoF_DBMOkPX6beBM1nI3hg_5xRnUi3ePjJ74SAAzkYCuicmYhyphenhyphen0RqvpOnCvq_kC2oGWzpf9EeE/s1600/no_image+.gif";
imgr[2] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4Dr17AYx0pfraZ3ewGnMuNuzyakmSNtBJToyVIJPsbBAH_oO6MzzXUWAOJeM6bdOXfNoF_DBMOkPX6beBM1nI3hg_5xRnUi3ePjJ74SAAzkYCuicmYhyphenhyphen0RqvpOnCvq_kC2oGWzpf9EeE/s1600/no_image+.gif";
imgr[3] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4Dr17AYx0pfraZ3ewGnMuNuzyakmSNtBJToyVIJPsbBAH_oO6MzzXUWAOJeM6bdOXfNoF_DBMOkPX6beBM1nI3hg_5xRnUi3ePjJ74SAAzkYCuicmYhyphenhyphen0RqvpOnCvq_kC2oGWzpf9EeE/s1600/no_image+.gif";
imgr[4] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4Dr17AYx0pfraZ3ewGnMuNuzyakmSNtBJToyVIJPsbBAH_oO6MzzXUWAOJeM6bdOXfNoF_DBMOkPX6beBM1nI3hg_5xRnUi3ePjJ74SAAzkYCuicmYhyphenhyphen0RqvpOnCvq_kC2oGWzpf9EeE/s1600/no_image+.gif";
showRandomImg = true;
boxwidth = 255;
cellspacing = 6;
borderColor = "#232c35";
bgTD = "#000000";
thumbwidth = 50;
thumbheight = 50;
fntsize = 5;
acolor = "#666";
aBold = true;
icon = " ";
text = "comments";
showPostDate = false;
summaryPost = 40;
summaryFontsize = 8;
summaryColor = "#666";
icon2 = " ";
numposts = 10;
home_page = "http://teknikbuatblog.blogspot.com/";
limitspy=5
intervalspy=4000
</script>
<div id="spylist">
<script src='https://sites.google.com/site/teknikbuatblog/tbb/tbb.js?attredirects=0&d=1' type='text/javascript'></script>
</div><a href="http://teknikbuatblog.blogspot.com/2010/12/cara-pasang-widget-animated-recent-post.html">
<font size="1">get this widget</font></a></center>
<script src="https://sites.google.com/site/teknikbuatblog/tbb/jquerry.js?attredirects=0&d=1" type="text/javascript"></script>
<style type="text/css" media="screen">
<!--
#spylist {
overflow:hidden;
margin-top:3px;
padding:0px 0px;
height:300px;
}
#spylist ul{
width:148px;
overflow:hidden;
list-style-type: none;
padding: 0px 0px;
margin:0px 0px;
}
#spylist li {
width:145px;
padding: 1px 1px;
margin:0px 0px 2px 0px;
list-style-type:none;
float:none;
height:50px;
overflow: hidden;
background:#fff url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDJgrYMwb5qfAVKn2NRHf8A1TzPcAMilRBLTbNcskUvodHqOPDoC5j7ShmhqAj5S9WMZCbjECGZnPg_-A_yWFbGMcN-LXeKghugLvLvWPEN3fDrmkL0Oq3yKaoj-sfeyqm8MnhhfboAu4/s1600/back2.png) repeat-x;
border:1px solid #ddd;
}
#spylist li a {
text-decoration:none;
color:#4B545B;
font-size:10px;
height:10px;
overflow:hidden;
margin:0px 0px;
padding:0px 0px 0px 0px;
}
#spylist li img {
float:left;
margin-right:2px;
background:#A9A9F5;
border:0;
}
.spydate{
overflow:hidden;
font-size:8px;
color:#0284C2;
padding:2px 0px;
margin:1px 0px 0px 0px;
height:10px;
font-family:Tahoma,Arial,verdana, sans-serif;
}
.spycomment{
overflow:hidden;
font-family:Tahoma,Arial,verdana, sans-serif;
font-size:8px;
color:#262B2F;
padding:0px 0px;
margin:0px 0px;
}
-->
</style>
<script language='javascript'>
imgr = new Array();
imgr[0] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4Dr17AYx0pfraZ3ewGnMuNuzyakmSNtBJToyVIJPsbBAH_oO6MzzXUWAOJeM6bdOXfNoF_DBMOkPX6beBM1nI3hg_5xRnUi3ePjJ74SAAzkYCuicmYhyphenhyphen0RqvpOnCvq_kC2oGWzpf9EeE/s1600/no_image+.gif";
imgr[1] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4Dr17AYx0pfraZ3ewGnMuNuzyakmSNtBJToyVIJPsbBAH_oO6MzzXUWAOJeM6bdOXfNoF_DBMOkPX6beBM1nI3hg_5xRnUi3ePjJ74SAAzkYCuicmYhyphenhyphen0RqvpOnCvq_kC2oGWzpf9EeE/s1600/no_image+.gif";
imgr[2] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4Dr17AYx0pfraZ3ewGnMuNuzyakmSNtBJToyVIJPsbBAH_oO6MzzXUWAOJeM6bdOXfNoF_DBMOkPX6beBM1nI3hg_5xRnUi3ePjJ74SAAzkYCuicmYhyphenhyphen0RqvpOnCvq_kC2oGWzpf9EeE/s1600/no_image+.gif";
imgr[3] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4Dr17AYx0pfraZ3ewGnMuNuzyakmSNtBJToyVIJPsbBAH_oO6MzzXUWAOJeM6bdOXfNoF_DBMOkPX6beBM1nI3hg_5xRnUi3ePjJ74SAAzkYCuicmYhyphenhyphen0RqvpOnCvq_kC2oGWzpf9EeE/s1600/no_image+.gif";
imgr[4] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4Dr17AYx0pfraZ3ewGnMuNuzyakmSNtBJToyVIJPsbBAH_oO6MzzXUWAOJeM6bdOXfNoF_DBMOkPX6beBM1nI3hg_5xRnUi3ePjJ74SAAzkYCuicmYhyphenhyphen0RqvpOnCvq_kC2oGWzpf9EeE/s1600/no_image+.gif";
showRandomImg = true;
boxwidth = 255;
cellspacing = 6;
borderColor = "#232c35";
bgTD = "#000000";
thumbwidth = 50;
thumbheight = 50;
fntsize = 5;
acolor = "#666";
aBold = true;
icon = " ";
text = "comments";
showPostDate = false;
summaryPost = 40;
summaryFontsize = 8;
summaryColor = "#666";
icon2 = " ";
numposts = 10;
home_page = "http://teknikbuatblog.blogspot.com/";
limitspy=5
intervalspy=4000
</script>
<div id="spylist">
<script src='https://sites.google.com/site/teknikbuatblog/tbb/tbb.js?attredirects=0&d=1' type='text/javascript'></script>
</div><a href="http://teknikbuatblog.blogspot.com/2010/12/cara-pasang-widget-animated-recent-post.html">
<font size="1">get this widget</font></a></center>
#Jangan lupa gantikan url blog saya,teks berwarna merah diatas dengan alamat blog sendiri.Kalau nak kecilkan size ubah pada kod warna hijau
Sumber : Teknikbuatblog
0 komentar :
Posting Komentar
- No Flood & Spam !
- Jika ada Link yang bermasalah silahkan tinggalkan
komentar dibawah ini
Terimakasih !