1/18/13

Hướng dẫn tạo Recent Post với hình đại diện (Thumnail)



1.Đăng nhập bảng điều khiển--> Bố cục- ->Phần tử trang

2.Chọn 'Thêm tiện ích' trên sidebar.

3.Chọn 'HTML/Javascript' và dán đoạn mã bên dưới và lưu lại.


<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 = "YOUR BLOG ADDRESS";
</script>
<script src="http://keerthiset2.110mb.com/recentposts_thumbnail.js" type="text/javascript"></script



4.Thay YOUR BLOG ADDRESS bằng địa chỉ blog của bạn !


0 nhận xét:

Post a Comment