Sama seperti fasilitas "Recent Post", kali ini kita akan menggunakan javascript yg lgs diletakkan di widget kita.
Langkah :
1. Login ke blogger.com
2. Masuk ke Design, yg dulu bernama Layout
3. Pilih Page Element.
4. Klik "Add a Gadget".
5. Pilih HTML
6. Masukkan kode ini
<script language="JavaScript">
imgr = new Array();
imgr[0] = "http://i43.tinypic.com/orpg0m.jpg";
imgr[1] = "http://i43.tinypic.com/orpg0m.jpg";
imgr[2] = "http://i43.tinypic.com/orpg0m.jpg";
imgr[3] = "http://i43.tinypic.com/orpg0m.jpg";
imgr[4] = "http://i43.tinypic.com/orpg0m.jpg";
showRandomImg = true;
boxwidth = 298;
cellspacing = 8;
borderColor = "#ffffff";
bgTD = "#000000";
thumbwidth = 40;
thumbheight = 40;
fntsize = 12;
acolor = "#666";
aBold = true;
icon = " ";
text = "comments";
showPostDate = false;
summaryPost = 40;
summaryFontsize = 10;
summaryColor = "#666";
icon2 = " ";
numposts = 4;
home_page = "http://www.katamichi.co.cc/";
</script>
<script src="http://myblogtalk.com/bloggertemplates/js/recentposts_thumbnail.js" type="text/javascript"></script>
Penjelasan :
boxwidth : Lebar widget
cellspacing : Jarak tepi antara cell
borderColor : Warna Border
thumbwidth & thumbheight : Lebar dan Tinggi dari thumbnail
fntsize : Ukuran font judul
acolor : Warna judul
aBold : (Pilih true or false)
numposts : Banyak postingan yang ingin Anda tampilkan
home_page : address url blog anda
7. Save
8. Lihat bagaimana hasilnya.
Nah, mudah kan. Silakan sobat blogger mencobanya.

,"Sampai ketemu di Tips and Tricks berikutnya. Byee~"
Credits: Andika Web
0 comments:
Post a Comment