twitter
    Find out what I'm doing, Follow Me :)

如何制作附图的最近发布

所谓最近发布英语就是RECENT POST(with Thumbnail),这脚本的发布是附带图片的
要添加此好工具到您的博客只需遵循这几个简单的步骤就可以了。

1.进入您的控制台--> 布局- -> 页面元素。

2.在侧边栏单击 "添加小工具"。

3.选择" HTML/JavaScript "然后把以下的脚本贴上和单击储存.

<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://您自己的网址";
</script>
<script src="http://myblogtalk.com/bloggertemplates/js/recentposts_thumbnail.js" type="text/javascript"></script>

注:记得修改“您自己的网址”换成您自己真正的博客网址。您可以随意修改
boxwidth,cellspacing,borderColor,bgTD,thumbwidth ,thumbheight,
fntsize,aBold 和 numposts。

大功告成。

0 评论:

发表评论