How to Set-up Feature Post?

March 1, 2009 Leave a Comment

Feature Post
Some of the templates that are converted from Wordpress to Blogger require a manual set-up to install al the widgets and takes hours every time we want to update. I've found a widget which application is to show the Recent Post of the blog. From this, I came up with a Feature Post Widget that will automatically update every time we post an article for feature.

Copy and Paste this code

<script language="JavaScript">
imgr = new Array();

imgr[0] = "http://jake.ilac.googlepages.com/thumb1.jpg";
imgr[1] = "http://jake.ilac.googlepages.com/thumb2.jpg";
imgr[2] = "http://jake.ilac.googlepages.com/thumb3.jpg";
imgr[3] = "http://jake.ilac.googlepages.com/thumb4.jpg";
imgr[4] = "http://jake.ilac.googlepages.com/thumb5.jpg";

showRandomImg = true;


tablewidth = 248;
cellspacing = 8;
borderColor = "#ffffff";
bgTD = "#ffffff";

imgwidth = 550;
imgheight = 350;

fntsize = 12;
acolor = "#666";
aBold = true;
icon = " ";

text = "comments";

showPostDate = false;

summaryPost = 150;
summaryFontsize = 11;
summaryColor = "#666";
icon2 = " ";

numposts = 1;

label = 'features'

home_page = "http://YOUR-BLOG-ADDRESS";

</script>
<script src="http://jake.ilac.googlepages.com/feature.js" type="text/javascript"></script>



You can specify your desire sizes of the imgwidth and imgheight. Hope this codes help you. Please don't hesitate to comment when you have some queries.

Download Javascript File Here

Stumble
Delicious
Technorati
Facebook
Digg

0 comments »

Leave your response!

Add your comment below,or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.