Membuat Recent Post

Kamis, 01 Maret 2012

1. Pergi ke Layout dan tekan Add a Gadget

2. Pilih 'HTML/JavaSript'

3. Masukkan code berikut 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 = 5;

home_page = "http://jeritanblog.blogspot.com/";

</script>

<script src="http://myblogtalk.com/bloggertemplates/js/recentposts_thumbnail.js" type="text/javascript"></script>


4. Akhir sekali simpan.

Ket:
- yang berwarna merah itu tukarkan dengan link anda.
- thumbwidth dan thumbheight (lebar dan tinggi gambar thumbnail, boleh diubah)
- fntsize: ukuran huruf.
- acolor: warna tulisan.
- numposts: post yang ingin deperlihatkan.

Macam mana kalau post tidak bergambar ? Akan muncul kotak seperti "no images".
Share

0 comments:

Posting Komentar

>