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 dashboard:
Pada layout---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/AVvXsEjmHvd3orO6YnywaRq0cIxffLY7KH0dGceyZ8lwnJ9DetY2WIjPYdnXV604V1zisG2mV1XYGNUsNJGlglP_wB2nUkm4CdT7A0nKkcf6yhfSXzETWz2cZzdUvu4eHKD0q-loKevFWl_1M4M/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/AVvXsEjh_1_qLlALA0QXStpTjRoJYi_4iY9-S0X9KNSuI2v0xtnnSzSEREpBa8oFIc-YFEclxWbfUxmO0OBch6gYoWm-DFL4pZfyP56HwqV4zGLeWcYG8QMrV1jz3SEBLSIPCYWJNljcpQgmUCE/s1600/no_image+.gif";
imgr[1] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh_1_qLlALA0QXStpTjRoJYi_4iY9-S0X9KNSuI2v0xtnnSzSEREpBa8oFIc-YFEclxWbfUxmO0OBch6gYoWm-DFL4pZfyP56HwqV4zGLeWcYG8QMrV1jz3SEBLSIPCYWJNljcpQgmUCE/s1600/no_image+.gif";
imgr[2] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh_1_qLlALA0QXStpTjRoJYi_4iY9-S0X9KNSuI2v0xtnnSzSEREpBa8oFIc-YFEclxWbfUxmO0OBch6gYoWm-DFL4pZfyP56HwqV4zGLeWcYG8QMrV1jz3SEBLSIPCYWJNljcpQgmUCE/s1600/no_image+.gif";
imgr[3] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh_1_qLlALA0QXStpTjRoJYi_4iY9-S0X9KNSuI2v0xtnnSzSEREpBa8oFIc-YFEclxWbfUxmO0OBch6gYoWm-DFL4pZfyP56HwqV4zGLeWcYG8QMrV1jz3SEBLSIPCYWJNljcpQgmUCE/s1600/no_image+.gif";
imgr[4] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh_1_qLlALA0QXStpTjRoJYi_4iY9-S0X9KNSuI2v0xtnnSzSEREpBa8oFIc-YFEclxWbfUxmO0OBch6gYoWm-DFL4pZfyP56HwqV4zGLeWcYG8QMrV1jz3SEBLSIPCYWJNljcpQgmUCE/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/AVvXsEjmHvd3orO6YnywaRq0cIxffLY7KH0dGceyZ8lwnJ9DetY2WIjPYdnXV604V1zisG2mV1XYGNUsNJGlglP_wB2nUkm4CdT7A0nKkcf6yhfSXzETWz2cZzdUvu4eHKD0q-loKevFWl_1M4M/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/AVvXsEjh_1_qLlALA0QXStpTjRoJYi_4iY9-S0X9KNSuI2v0xtnnSzSEREpBa8oFIc-YFEclxWbfUxmO0OBch6gYoWm-DFL4pZfyP56HwqV4zGLeWcYG8QMrV1jz3SEBLSIPCYWJNljcpQgmUCE/s1600/no_image+.gif";
imgr[1] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh_1_qLlALA0QXStpTjRoJYi_4iY9-S0X9KNSuI2v0xtnnSzSEREpBa8oFIc-YFEclxWbfUxmO0OBch6gYoWm-DFL4pZfyP56HwqV4zGLeWcYG8QMrV1jz3SEBLSIPCYWJNljcpQgmUCE/s1600/no_image+.gif";
imgr[2] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh_1_qLlALA0QXStpTjRoJYi_4iY9-S0X9KNSuI2v0xtnnSzSEREpBa8oFIc-YFEclxWbfUxmO0OBch6gYoWm-DFL4pZfyP56HwqV4zGLeWcYG8QMrV1jz3SEBLSIPCYWJNljcpQgmUCE/s1600/no_image+.gif";
imgr[3] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh_1_qLlALA0QXStpTjRoJYi_4iY9-S0X9KNSuI2v0xtnnSzSEREpBa8oFIc-YFEclxWbfUxmO0OBch6gYoWm-DFL4pZfyP56HwqV4zGLeWcYG8QMrV1jz3SEBLSIPCYWJNljcpQgmUCE/s1600/no_image+.gif";
imgr[4] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh_1_qLlALA0QXStpTjRoJYi_4iY9-S0X9KNSuI2v0xtnnSzSEREpBa8oFIc-YFEclxWbfUxmO0OBch6gYoWm-DFL4pZfyP56HwqV4zGLeWcYG8QMrV1jz3SEBLSIPCYWJNljcpQgmUCE/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/AVvXsEiB5hb1YVRd7VMtJYhOVRFBH7FoeON-2xLiaiJbHYZDnnSgKAk3fgUjCHuoxtUmTqlaGOedITo4mCdUstw3AKQVQoj1q5IWhNYVEQPYrr0l4N9CdyAS1F78dJQut2csnrpyshN7JDSIeL4/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/AVvXsEjh_1_qLlALA0QXStpTjRoJYi_4iY9-S0X9KNSuI2v0xtnnSzSEREpBa8oFIc-YFEclxWbfUxmO0OBch6gYoWm-DFL4pZfyP56HwqV4zGLeWcYG8QMrV1jz3SEBLSIPCYWJNljcpQgmUCE/s1600/no_image+.gif";
imgr[1] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh_1_qLlALA0QXStpTjRoJYi_4iY9-S0X9KNSuI2v0xtnnSzSEREpBa8oFIc-YFEclxWbfUxmO0OBch6gYoWm-DFL4pZfyP56HwqV4zGLeWcYG8QMrV1jz3SEBLSIPCYWJNljcpQgmUCE/s1600/no_image+.gif";
imgr[2] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh_1_qLlALA0QXStpTjRoJYi_4iY9-S0X9KNSuI2v0xtnnSzSEREpBa8oFIc-YFEclxWbfUxmO0OBch6gYoWm-DFL4pZfyP56HwqV4zGLeWcYG8QMrV1jz3SEBLSIPCYWJNljcpQgmUCE/s1600/no_image+.gif";
imgr[3] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh_1_qLlALA0QXStpTjRoJYi_4iY9-S0X9KNSuI2v0xtnnSzSEREpBa8oFIc-YFEclxWbfUxmO0OBch6gYoWm-DFL4pZfyP56HwqV4zGLeWcYG8QMrV1jz3SEBLSIPCYWJNljcpQgmUCE/s1600/no_image+.gif";
imgr[4] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh_1_qLlALA0QXStpTjRoJYi_4iY9-S0X9KNSuI2v0xtnnSzSEREpBa8oFIc-YFEclxWbfUxmO0OBch6gYoWm-DFL4pZfyP56HwqV4zGLeWcYG8QMrV1jz3SEBLSIPCYWJNljcpQgmUCE/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/AVvXsEiB5hb1YVRd7VMtJYhOVRFBH7FoeON-2xLiaiJbHYZDnnSgKAk3fgUjCHuoxtUmTqlaGOedITo4mCdUstw3AKQVQoj1q5IWhNYVEQPYrr0l4N9CdyAS1F78dJQut2csnrpyshN7JDSIeL4/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/AVvXsEjh_1_qLlALA0QXStpTjRoJYi_4iY9-S0X9KNSuI2v0xtnnSzSEREpBa8oFIc-YFEclxWbfUxmO0OBch6gYoWm-DFL4pZfyP56HwqV4zGLeWcYG8QMrV1jz3SEBLSIPCYWJNljcpQgmUCE/s1600/no_image+.gif";
imgr[1] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh_1_qLlALA0QXStpTjRoJYi_4iY9-S0X9KNSuI2v0xtnnSzSEREpBa8oFIc-YFEclxWbfUxmO0OBch6gYoWm-DFL4pZfyP56HwqV4zGLeWcYG8QMrV1jz3SEBLSIPCYWJNljcpQgmUCE/s1600/no_image+.gif";
imgr[2] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh_1_qLlALA0QXStpTjRoJYi_4iY9-S0X9KNSuI2v0xtnnSzSEREpBa8oFIc-YFEclxWbfUxmO0OBch6gYoWm-DFL4pZfyP56HwqV4zGLeWcYG8QMrV1jz3SEBLSIPCYWJNljcpQgmUCE/s1600/no_image+.gif";
imgr[3] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh_1_qLlALA0QXStpTjRoJYi_4iY9-S0X9KNSuI2v0xtnnSzSEREpBa8oFIc-YFEclxWbfUxmO0OBch6gYoWm-DFL4pZfyP56HwqV4zGLeWcYG8QMrV1jz3SEBLSIPCYWJNljcpQgmUCE/s1600/no_image+.gif";
imgr[4] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh_1_qLlALA0QXStpTjRoJYi_4iY9-S0X9KNSuI2v0xtnnSzSEREpBa8oFIc-YFEclxWbfUxmO0OBch6gYoWm-DFL4pZfyP56HwqV4zGLeWcYG8QMrV1jz3SEBLSIPCYWJNljcpQgmUCE/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
No comments:
Post a Comment