I believe Blogspot is a easy and powerful platform . It can do whatever other platform can do . In Wordpress ,with plugins ,you can make a shop online . And now ,in Blogspot ,you can do the same . You can make a small online shop for selling good . It's not a perfect solution ,in fact, it's not good at processing and security .But anyway ,it's still the solution you should consider if you want to stick with Blogspot .

Live Demo
Yesterday ,I found the script called SimpleCart . This script is based on Ajax for making a complete shopping cart ,using two payment method Google checkout and Paypal for check out .
You can find out more information on SimpleCart at This page
To make a shop like this ,you can follow some step bellow :
1, Login to your blogger account ,go to Layout tab ,continue to Page elements . Create a HTML/Javascript widget .
2,Download this file and paste it content to HTML/Javascript widget content .
Download file here
3,Save template . And see the widget in action .
<script type="text/javascript">
simpleCart.email = "brett@wojodesign.com";
simpleCart.checkoutTo = PayPal;
simpleCart.cartHeaders = [ "name", "thumb_image" , "Quantity_input" , "increment", "decrement", "Total" ];
</script>
simpleCart.checkoutTo = PayPal; mean the payment method is paypal
simpleCart.email = "brett@wojodesign.com"; is the Paypal email for making payment to .Change it to your own .
2,Here is the code of one item in my live demo shop :
<div class="simpleCart_shelfItem">
<!--Notice the class names of each tag begin with item_ -->
<img src="http://i604.photobucket.com/albums/tt130/metalner/simplexshop/attack-release.png" alt="product 1" title="product 1" class="item_image"/>
<h5 class="item_name">Sample DVD</h5>
<p class="item_Description">
To create a shelf item, you create a div with a class of simpleCart_shelfItem
</p>
<span class="item_price">$14.99</span>
<a id="s1" href="javascript:;" class="item_add">Add to Cart</a>
<span class="item_thumb">http://i604.photobucket.com/albums/tt130/metalner/simplexshop/attack-release.png</span>
</div>
To create a shelf item, you create a div with a class of “simpleCart_shelfItem” ,like this <div class="simpleCart_shelfItem">
.....................
</div>
this structure : <img src="item_image" alt="product 1" title="product 1" class="item_image"/>
is for image of item . Image of item must contain class="item_image" attribute .
This structure <h5 class="item_name">your_item_name</h5> is name of item . It must included class="item_name" .
Description of item must included class="item_Description" like this
<p class="item_Description">
your description
</p>
To set the price ,use this structure :
<span class="item_price">$00.00</span>
To make " add to cart link" ,add this line
<a href="javascript:;" class="item_add">Add to Cart</a>
To add thumbnail image for item ( thumbnail image will be showed in shopping cart ) ,use this structure :
<span class="item_thumb">your_thumbnail</span>
Here is the code of cart :
<div id="cartTotal">
<strong>Total: </strong><span class="simpleCart_total"></span>
</div>
<!--Add a div with the class of simpleCart_items to display what is in the user's cart-->
<div class="simpleCart_items"></div>
<!--use a class of simpleCart_empty to empty the cart and simpleCart_checkout to checkout -->
<a href="javascript:;" class="simpleCart_empty">Empty Cart</a>
<a href="javascript:;" class="simpleCart_checkout">Checkout</a>
to show the total ,use this statement :
<span class="simpleCart_total"></span>
to show shopping cart ,use this statement
<div class="simpleCart_items"></div>
To show "empty cart" and "checkout" button ,use this statement :
<a href="javascript:;" class="simpleCart_empty">Empty Cart</a>
<a href="javascript:;" class="simpleCart_checkout">Checkout</a>
In this post ,I explained some important points of using Simplecart and make it a widget to add to Blogspot . If you want to customize the appearance of the shop ,you can modify the CSS section of widget .
If you want to know more about Simple Cart script and its other options such as tax rate ,shipping fee ... or option for showing the quantity ,the final cost ...
You can go to SimpleCart Documentation page
Enjoy it !

Live Demo
Yesterday ,I found the script called SimpleCart . This script is based on Ajax for making a complete shopping cart ,using two payment method Google checkout and Paypal for check out .
You can find out more information on SimpleCart at This page
To make a shop like this ,you can follow some step bellow :
1, Login to your blogger account ,go to Layout tab ,continue to Page elements . Create a HTML/Javascript widget .
2,Download this file and paste it content to HTML/Javascript widget content .
Download file here
3,Save template . And see the widget in action .
How to customize this code
1,Take a look on this code :<script type="text/javascript">
simpleCart.email = "brett@wojodesign.com";
simpleCart.checkoutTo = PayPal;
simpleCart.cartHeaders = [ "name", "thumb_image" , "Quantity_input" , "increment", "decrement", "Total" ];
</script>
simpleCart.checkoutTo = PayPal; mean the payment method is paypal
simpleCart.email = "brett@wojodesign.com"; is the Paypal email for making payment to .Change it to your own .
2,Here is the code of one item in my live demo shop :
<div class="simpleCart_shelfItem">
<!--Notice the class names of each tag begin with item_ -->
<img src="http://i604.photobucket.com/albums/tt130/metalner/simplexshop/attack-release.png" alt="product 1" title="product 1" class="item_image"/>
<h5 class="item_name">Sample DVD</h5>
<p class="item_Description">
To create a shelf item, you create a div with a class of simpleCart_shelfItem
</p>
<span class="item_price">$14.99</span>
<a id="s1" href="javascript:;" class="item_add">Add to Cart</a>
<span class="item_thumb">http://i604.photobucket.com/albums/tt130/metalner/simplexshop/attack-release.png</span>
</div>
To create a shelf item, you create a div with a class of “simpleCart_shelfItem” ,like this <div class="simpleCart_shelfItem">
.....................
</div>
this structure : <img src="item_image" alt="product 1" title="product 1" class="item_image"/>
is for image of item . Image of item must contain class="item_image" attribute .
This structure <h5 class="item_name">your_item_name</h5> is name of item . It must included class="item_name" .
Description of item must included class="item_Description" like this
<p class="item_Description">
your description
</p>
To set the price ,use this structure :
<span class="item_price">$00.00</span>
To make " add to cart link" ,add this line
<a href="javascript:;" class="item_add">Add to Cart</a>
To add thumbnail image for item ( thumbnail image will be showed in shopping cart ) ,use this structure :
<span class="item_thumb">your_thumbnail</span>
Here is the code of cart :
<div id="cartTotal">
<strong>Total: </strong><span class="simpleCart_total"></span>
</div>
<!--Add a div with the class of simpleCart_items to display what is in the user's cart-->
<div class="simpleCart_items"></div>
<!--use a class of simpleCart_empty to empty the cart and simpleCart_checkout to checkout -->
<a href="javascript:;" class="simpleCart_empty">Empty Cart</a>
<a href="javascript:;" class="simpleCart_checkout">Checkout</a>
to show the total ,use this statement :
<span class="simpleCart_total"></span>
to show shopping cart ,use this statement
<div class="simpleCart_items"></div>
To show "empty cart" and "checkout" button ,use this statement :
<a href="javascript:;" class="simpleCart_empty">Empty Cart</a>
<a href="javascript:;" class="simpleCart_checkout">Checkout</a>
In this post ,I explained some important points of using Simplecart and make it a widget to add to Blogspot . If you want to customize the appearance of the shop ,you can modify the CSS section of widget .
If you want to know more about Simple Cart script and its other options such as tax rate ,shipping fee ... or option for showing the quantity ,the final cost ...
You can go to SimpleCart Documentation page
Enjoy it !
do you want to make a rounded corner for web elements like other web 2.0 ? CSS coding is a little hard and sometime it can't work properly in browsers .
I found a simple solution that work for all browser .It's a javascript library named CurvyCorners .
here is result after using this script :

To make rounded content like this ,follow these steps :
1, Download CurvyCorners
2, Uploaded curvycorners.js to a web hosting and add this line above </head> tag
<script type="text/javascript" src="your host..../curvycorners.js"></script>
3, Add this CSS code above ]]></b:skin> :
tl,tr,bl,br mean top-left,top-right,bottom-left and bottom-right . You can modify the value of radius for rounded corner as you want .
If you have different CSS classes for different web elements (ex. roundedCorners, roundedCorners_1, roundedCorners_2) you can apply them changing the previous code in this way:
This code use both of CSS3 and Javascript for making rounded corners . In FireFox ,Chrome and Safari ,it use CSS3 ,and in IE ,Opera ,it use Javascript .
In case of javascript is not supported by browser , this doesn't work . So make rounded corners using background images and CSS is the suggested solution .
Enjoy it !
I found a simple solution that work for all browser .It's a javascript library named CurvyCorners .
here is result after using this script :

To make rounded content like this ,follow these steps :
1, Download CurvyCorners
2, Uploaded curvycorners.js to a web hosting and add this line above </head> tag
<script type="text/javascript" src="your host..../curvycorners.js"></script>
3, Add this CSS code above ]]></b:skin> :
.roundedCorners{
4,Add the following code right after </head> tagwidth: 220px;
padding: 10px;
background-color: #DDEEF6;
border:1px solid #DDEEF6;
/* Do rounding (native in Safari, Firefox and Chrome) */
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
}padding: 10px;
background-color: #DDEEF6;
border:1px solid #DDEEF6;
/* Do rounding (native in Safari, Firefox and Chrome) */
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
<script type="text/JavaScript">
addEvent(window, 'load', initCorners);
function initCorners() {
var setting = {
tl: { radius: 6 },
tr: { radius: 6 },
bl: { radius: 6 },
br: { radius: 6 },
antiAlias: true
}
curvyCorners(setting, ".roundedCorners");
}
</script>
addEvent(window, 'load', initCorners);
function initCorners() {
var setting = {
tl: { radius: 6 },
tr: { radius: 6 },
bl: { radius: 6 },
br: { radius: 6 },
antiAlias: true
}
curvyCorners(setting, ".roundedCorners");
}
</script>
tl,tr,bl,br mean top-left,top-right,bottom-left and bottom-right . You can modify the value of radius for rounded corner as you want .
If you have different CSS classes for different web elements (ex. roundedCorners, roundedCorners_1, roundedCorners_2) you can apply them changing the previous code in this way:
...
curvyCorners(setting, ".roundedCorners");
curvyCorners(setting, ".roundedCorners_1");
curvyCorners(setting, ".roundedCorners_2");
...
Now if you want to apply rounded corners to a DIV element use this code:curvyCorners(setting, ".roundedCorners");
curvyCorners(setting, ".roundedCorners_1");
curvyCorners(setting, ".roundedCorners_2");
...
<div class="roundedCorners"> </div>
This code use both of CSS3 and Javascript for making rounded corners . In FireFox ,Chrome and Safari ,it use CSS3 ,and in IE ,Opera ,it use Javascript .
In case of javascript is not supported by browser , this doesn't work . So make rounded corners using background images and CSS is the suggested solution .
Enjoy it !
To personalize your blog and increase the number of feed subscriber ,why don't you try these collection ? It's all free and I think they are all awesome ^^
Neviral DeviantArt
Narjisnaqvi - Paper Feed Icons
RSS 3D - Luzbeloco
RSS Lite - Mythique Design
Seasonal RSS - Hello Icon
RSS Icon Pack - Grafon
Emsvizyon RSS XML
Deviant Dark
Davinness RSS
Blogeeks DeviantArt
Angline DeviantArt RSS
Biscotto - Antikkia DeviantArt
devi.RSS by ~devi-cry
RSS Icon by ~bezem049
RSS READER Icon by ~twinware
RSS by ~Hopka
RSS Feed Newspaper Icon

RSS Icons -Jinsona
Vienna Book RSS - Czanderna
RSS Owl - Balpert
Oat RSS Icons
Taz3r - In the Elements water RSS

Templay Team - RSS Feed Newspaper Icon
Have fun with it ^^
Neviral DeviantArt
Narjisnaqvi - Paper Feed Icons
RSS 3D - Luzbeloco
RSS Lite - Mythique Design
Emsvizyon RSS XML
Deviant Dark
Davinness RSS
Blogeeks DeviantArt
Angline DeviantArt RSS
Biscotto - Antikkia DeviantArt
devi.RSS by ~devi-cry
RSS Icon by ~bezem049
RSS Feed Newspaper IconRSS Icons -Jinsona
Vienna Book RSS - Czanderna
RSS Owl - Balpert
Oat RSS Icons
Taz3r - In the Elements water RSS
Templay Team - RSS Feed Newspaper Icon
Have fun with it ^^
in previous post ,I told you about first step of making slider for recent posts in blogger .And we finished making slider effect after first step .

Now we move to step 2 .
step 2 : Use javascript to get information for slider
in this step ,we will add some javascript in the code of slider effect to get information on recent posts from blog feed and show this on slider .
Slider above has two parts ,left and right, The part in the left show the post title ,post summary ,image in background . The right part show only title of posts .
To understand what is written in this post ,I suggest you read the part 1
In the code of slider ,right after the code of CSS ,insert this code
<script language="JavaScript">
imgr = new Array();
imgr[0] = "http://sites.google.com/site/fdblogsite/Home/nothumbnail.gif";
showRandomImg = true;
aBold = true;
summaryPost = 70; //
summaryTitle = 25; //
numposts = 5; //
home_page = "http://your_blog_url/";
label8 = "Feature";
tLabel8 = "Feature";
Title8 = "Feature";
function removeHtmlTag(strx,chop){
var s = strx.split("<");
for(var i=0;i<s.length;i++){
if(s[i].indexOf(">")!=-1){
s[i] = s[i].substring(s[i].indexOf(">")+1,s[i].length);
}
}
s = s.join("");
s = s.substring(0,chop-1);
return s;
}
function showrecentposts(json) {
j = (showRandomImg) ? Math.floor((imgr.length+1)*Math.random()) : 0;
img = new Array();
document.write('<ul class="slides-nav">');
for (var i = 0; i < numposts; i++) {
var entry = json.feed.entry[i];
var posttitle = entry.title.$t;
var pcm;
var posturl;
if (i == json.feed.entry.length) break;
for (var k = 0; k < entry.link.length; k++) {
if (entry.link[k].rel == 'alternate') {
posturl = entry.link[k].href;
break;
}
}
for (var k = 0; k < entry.link.length; k++) {
if (entry.link[k].rel == 'replies' && entry.link[k].type == 'text/html') {
pcm = entry.link[k].title.split(" ")[0];
break;
}
}
if ("content" in entry) {
var postcontent = entry.content.$t;}
else
if ("summary" in entry) {
var postcontent = entry.summary.$t;}
else var postcontent = "";
postdate = entry.published.$t;
if(j>imgr.length-1) j=0;
img[i] = imgr[j];
s = postcontent ; a = s.indexOf("<img"); b = s.indexOf("src=\"",a); c = s.indexOf("\"",b+5); d = s.substr(b+5,c-b-5);
if((a!=-1)&&(b!=-1)&&(c!=-1)&&(d!="")) img[i] = d;
//cmtext = (text != 'no') ? '<i><font color="'+acolor+'">('+pcm+' '+text+')</font></i>' : '';
var month = [1,2,3,4,5,6,7,8,9,10,11,12];
var month2 = ["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];
var day = postdate.split("-")[2].substring(0,2);
var m = postdate.split("-")[1];
var y = postdate.split("-")[0];
for(var u2=0;u2<month.length;u2++){
if(parseInt(m)==month[u2]) {
m = month2[u2] ; break;
}
}
//var daystr = (showPostDate) ? '<i><font color="'+acolor+'"> - ('+day+ ' ' + m + ' ' + y + ')</font></i>' : "";
posttitle = (aBold) ? ""+posttitle+"" : posttitle;
var trtd = ' <li id="post-'+i+'" class="clearfix"> <a href="#main-post-'+i+'" class=""><img height="150px" width="150px" class="post_thumbnail thumbnail thumbnail post_thumbnail" alt="This is a Full-Width Post Without Sidebars" src="'+img[i]+'"/>'+posttitle+'<br/> '+m+','+day+','+y+' </a> </li> ';
document.write(trtd);
j++;
}
document.write('</ul>');
}
function showrecentposts1(json) {
j = (showRandomImg) ? Math.floor((imgr.length+1)*Math.random()) : 0;
img = new Array();
document.write('<ul class="clearfix" style="position: relative;">');
for (var i = 0; i < numposts; i++) {
var entry = json.feed.entry[i];
var posttitle = entry.title.$t;
var pcm;
var posturl;
if (i == json.feed.entry.length) break;
for (var k = 0; k < entry.link.length; k++) {
if (entry.link[k].rel == 'alternate') {
posturl = entry.link[k].href;
break;
}
}
for (var k = 0; k < entry.link.length; k++) {
if (entry.link[k].rel == 'replies' && entry.link[k].type == 'text/html') {
pcm = entry.link[k].title.split(" ")[0];
break;
}
}
if ("content" in entry) {
var postcontent = entry.content.$t;}
else
if ("summary" in entry) {
var postcontent = entry.summary.$t;}
else var postcontent = "";
postdate = entry.published.$t;
if(j>imgr.length-1) j=0;
img[i] = imgr[j];
s = postcontent ; a = s.indexOf("<img"); b = s.indexOf("src=\"",a); c = s.indexOf("\"",b+5); d = s.substr(b+5,c-b-5);
if((a!=-1)&&(b!=-1)&&(c!=-1)&&(d!="")) img[i] = d;
//cmtext = (text != 'no') ? '<i><font color="'+acolor+'">('+pcm+' '+text+')</font></i>' : '';
var month = [1,2,3,4,5,6,7,8,9,10,11,12];
var month2 = ["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];
var day = postdate.split("-")[2].substring(0,2);
var m = postdate.split("-")[1];
var y = postdate.split("-")[0];
for(var u2=0;u2<month.length;u2++){
if(parseInt(m)==month[u2]) {
m = month2[u2] ; break;
}
}
//var daystr = (showPostDate) ? '<i><font color="'+acolor+'"> - ('+day+ ' ' + m + ' ' + y + ')</font></i>' : "";
posttitle = (aBold) ? ""+posttitle+"" : posttitle;
var trtd = '<li style="background: transparent url('+img[i]+')" id="main-post-'+i+'"><div class="entry"><h2 class="post-title"><a href="'+posturl+'">'+posttitle+'</a></h2> <p>'+removeHtmlTag(postcontent,summaryPost)+'</p></div></li> ';
document.write(trtd);
j++;
}
document.write('</ul>');
}
</script>
this code contain three function , removeHtmlTag,showrecentposts and showrecentposts1
removehtmltag is function for creating post summary .
showrecentposts is function for creating the left part of slider
and showrecentposts1 is the function for creating the right part of slider .
you may notice some variables at the beginning of the code
summaryPost = 70; //
summaryTitle = 25; //
numposts = 5; //
home_page = "http://your_blog_url/";
label8 = "Feature";
tLabel8 = "Feature";
Title8 = "Feature";
summarypost =70 mean the maximum length of post summary is 70 letters
summarytitle =25 mean the maximum length of post title in slider is 25 letters
numposts = 5 mean the number of posts in slider is 5 maximum
home_page is the variable for url of your blog .
value of label8,tlabel8 and title8 variables are the label of your blog in which you want to show posts in .
in the code of slider ,replace this
<ul class="clearfix" style="position: relative;">
<li id="main-post-1" style="background: transparent url(URL-Image1) " >
<div class="entry"><h2 class="post-title"><a href="link to entry1">title of entry 1</a></h2>
<p>post summary of entry 1</p></div>
</li>
<li id="main-post-2" style="background: transparent url(URL-Image2) " >
<div class="entry"><h2 class="post-title"><a href="link to entry2">title of entry 2</a></h2>
<p>post summary of entry 2</p></div>
</li>
<li id="main-post-3" style="background: transparent url(URL-Image3) " >
<div class="entry"><h2 class="post-title"><a href="link to entry3">title of entry 3</a></h2>
<p>post summary of entry 3</p></div>
</li>
<li id="main-post-4" style="background: transparent url(URL-Image4) " >
<div class="entry"><h2 class="post-title"><a href="link to entry4">title of entry 4</a></h2>
<p>post summary of entry 4</p></div>
</li>
<li id="main-post-5" style="background: transparent url(URL-Image5) " >
<div class="entry"><h2 class="post-title"><a href="link to entry5">title of entry 5</a></h2>
<p>post summary of entry 5</p></div>
</li>
</ul>
by this one :
<script language="JavaScript">
document.write("<script src=\""+home_page+"feeds/posts/default/-/"+label8+"?max-results="+numposts+"&orderby=published&alt=json-in-script&callback=showrecentposts\"><\/script>");
</script>
and find this code :
<ul class="slides-nav">
<li class="clearfix" id="post-1"> <a class="" href="#main-post-1"><img width="150px" height="150px" src="thumbnail of post 1" class="thumbnail"/>title of post 1</li>
<li class="clearfix" id="post-2"> <a class="" href="#main-post-2"><img width="150px" height="150px" src="thumbnail of post 2" class="thumbnail"/>title of post 2</li>
<li class="clearfix" id="post-3"> <a class="" href="#main-post-3"><img width="150px" height="150px" src="thumbnail of post 3" class="thumbnail"/>title of post 3</li>
<li class="clearfix" id="post-4"> <a class="" href="#main-post-4"><img width="150px" height="150px" src="thumbnail of post 4" class="thumbnail"/>title of post 4</li>
<li class="clearfix" id="post-5"> <a class="" href="#main-post-5"><img width="150px" height="150px" src="thumbnail of post 5" class="thumbnail"/>title of post 5</li>
</ul>
replace it by :
<script language="JavaScript">
document.write("<script src=\""+home_page+"feeds/posts/default/-/"+label8+"?max-results="+numposts+"&orderby=published&alt=json-in-script&callback=showrecentposts1\"><\/script>");
</script>
Ok,save widget and you are done .
in operating ,the code will get the information of recent posts and write it out in HTML tags format. After that ,the code of slider effect will put all HTML tags it got on slider .

Now we move to step 2 .
step 2 : Use javascript to get information for slider
in this step ,we will add some javascript in the code of slider effect to get information on recent posts from blog feed and show this on slider .Slider above has two parts ,left and right, The part in the left show the post title ,post summary ,image in background . The right part show only title of posts .
To understand what is written in this post ,I suggest you read the part 1
In the code of slider ,right after the code of CSS ,insert this code
<script language="JavaScript">
imgr = new Array();
imgr[0] = "http://sites.google.com/site/fdblogsite/Home/nothumbnail.gif";
showRandomImg = true;
aBold = true;
summaryPost = 70; //
summaryTitle = 25; //
numposts = 5; //
home_page = "http://your_blog_url/";
label8 = "Feature";
tLabel8 = "Feature";
Title8 = "Feature";
function removeHtmlTag(strx,chop){
var s = strx.split("<");
for(var i=0;i<s.length;i++){
if(s[i].indexOf(">")!=-1){
s[i] = s[i].substring(s[i].indexOf(">")+1,s[i].length);
}
}
s = s.join("");
s = s.substring(0,chop-1);
return s;
}
function showrecentposts(json) {
j = (showRandomImg) ? Math.floor((imgr.length+1)*Math.random()) : 0;
img = new Array();
document.write('<ul class="slides-nav">');
for (var i = 0; i < numposts; i++) {
var entry = json.feed.entry[i];
var posttitle = entry.title.$t;
var pcm;
var posturl;
if (i == json.feed.entry.length) break;
for (var k = 0; k < entry.link.length; k++) {
if (entry.link[k].rel == 'alternate') {
posturl = entry.link[k].href;
break;
}
}
for (var k = 0; k < entry.link.length; k++) {
if (entry.link[k].rel == 'replies' && entry.link[k].type == 'text/html') {
pcm = entry.link[k].title.split(" ")[0];
break;
}
}
if ("content" in entry) {
var postcontent = entry.content.$t;}
else
if ("summary" in entry) {
var postcontent = entry.summary.$t;}
else var postcontent = "";
postdate = entry.published.$t;
if(j>imgr.length-1) j=0;
img[i] = imgr[j];
s = postcontent ; a = s.indexOf("<img"); b = s.indexOf("src=\"",a); c = s.indexOf("\"",b+5); d = s.substr(b+5,c-b-5);
if((a!=-1)&&(b!=-1)&&(c!=-1)&&(d!="")) img[i] = d;
//cmtext = (text != 'no') ? '<i><font color="'+acolor+'">('+pcm+' '+text+')</font></i>' : '';
var month = [1,2,3,4,5,6,7,8,9,10,11,12];
var month2 = ["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];
var day = postdate.split("-")[2].substring(0,2);
var m = postdate.split("-")[1];
var y = postdate.split("-")[0];
for(var u2=0;u2<month.length;u2++){
if(parseInt(m)==month[u2]) {
m = month2[u2] ; break;
}
}
//var daystr = (showPostDate) ? '<i><font color="'+acolor+'"> - ('+day+ ' ' + m + ' ' + y + ')</font></i>' : "";
posttitle = (aBold) ? ""+posttitle+"" : posttitle;
var trtd = ' <li id="post-'+i+'" class="clearfix"> <a href="#main-post-'+i+'" class=""><img height="150px" width="150px" class="post_thumbnail thumbnail thumbnail post_thumbnail" alt="This is a Full-Width Post Without Sidebars" src="'+img[i]+'"/>'+posttitle+'<br/> '+m+','+day+','+y+' </a> </li> ';
document.write(trtd);
j++;
}
document.write('</ul>');
}
function showrecentposts1(json) {
j = (showRandomImg) ? Math.floor((imgr.length+1)*Math.random()) : 0;
img = new Array();
document.write('<ul class="clearfix" style="position: relative;">');
for (var i = 0; i < numposts; i++) {
var entry = json.feed.entry[i];
var posttitle = entry.title.$t;
var pcm;
var posturl;
if (i == json.feed.entry.length) break;
for (var k = 0; k < entry.link.length; k++) {
if (entry.link[k].rel == 'alternate') {
posturl = entry.link[k].href;
break;
}
}
for (var k = 0; k < entry.link.length; k++) {
if (entry.link[k].rel == 'replies' && entry.link[k].type == 'text/html') {
pcm = entry.link[k].title.split(" ")[0];
break;
}
}
if ("content" in entry) {
var postcontent = entry.content.$t;}
else
if ("summary" in entry) {
var postcontent = entry.summary.$t;}
else var postcontent = "";
postdate = entry.published.$t;
if(j>imgr.length-1) j=0;
img[i] = imgr[j];
s = postcontent ; a = s.indexOf("<img"); b = s.indexOf("src=\"",a); c = s.indexOf("\"",b+5); d = s.substr(b+5,c-b-5);
if((a!=-1)&&(b!=-1)&&(c!=-1)&&(d!="")) img[i] = d;
//cmtext = (text != 'no') ? '<i><font color="'+acolor+'">('+pcm+' '+text+')</font></i>' : '';
var month = [1,2,3,4,5,6,7,8,9,10,11,12];
var month2 = ["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];
var day = postdate.split("-")[2].substring(0,2);
var m = postdate.split("-")[1];
var y = postdate.split("-")[0];
for(var u2=0;u2<month.length;u2++){
if(parseInt(m)==month[u2]) {
m = month2[u2] ; break;
}
}
//var daystr = (showPostDate) ? '<i><font color="'+acolor+'"> - ('+day+ ' ' + m + ' ' + y + ')</font></i>' : "";
posttitle = (aBold) ? ""+posttitle+"" : posttitle;
var trtd = '<li style="background: transparent url('+img[i]+')" id="main-post-'+i+'"><div class="entry"><h2 class="post-title"><a href="'+posturl+'">'+posttitle+'</a></h2> <p>'+removeHtmlTag(postcontent,summaryPost)+'</p></div></li> ';
document.write(trtd);
j++;
}
document.write('</ul>');
}
</script>
this code contain three function , removeHtmlTag,showrecentposts and showrecentposts1
removehtmltag is function for creating post summary .
showrecentposts is function for creating the left part of slider
and showrecentposts1 is the function for creating the right part of slider .
you may notice some variables at the beginning of the code
summaryPost = 70; //
summaryTitle = 25; //
numposts = 5; //
home_page = "http://your_blog_url/";
label8 = "Feature";
tLabel8 = "Feature";
Title8 = "Feature";
summarypost =70 mean the maximum length of post summary is 70 letters
summarytitle =25 mean the maximum length of post title in slider is 25 letters
numposts = 5 mean the number of posts in slider is 5 maximum
home_page is the variable for url of your blog .
value of label8,tlabel8 and title8 variables are the label of your blog in which you want to show posts in .
in the code of slider ,replace this
<ul class="clearfix" style="position: relative;">
<li id="main-post-1" style="background: transparent url(URL-Image1) " >
<div class="entry"><h2 class="post-title"><a href="link to entry1">title of entry 1</a></h2>
<p>post summary of entry 1</p></div>
</li>
<li id="main-post-2" style="background: transparent url(URL-Image2) " >
<div class="entry"><h2 class="post-title"><a href="link to entry2">title of entry 2</a></h2>
<p>post summary of entry 2</p></div>
</li>
<li id="main-post-3" style="background: transparent url(URL-Image3) " >
<div class="entry"><h2 class="post-title"><a href="link to entry3">title of entry 3</a></h2>
<p>post summary of entry 3</p></div>
</li>
<li id="main-post-4" style="background: transparent url(URL-Image4) " >
<div class="entry"><h2 class="post-title"><a href="link to entry4">title of entry 4</a></h2>
<p>post summary of entry 4</p></div>
</li>
<li id="main-post-5" style="background: transparent url(URL-Image5) " >
<div class="entry"><h2 class="post-title"><a href="link to entry5">title of entry 5</a></h2>
<p>post summary of entry 5</p></div>
</li>
</ul>
by this one :
<script language="JavaScript">
document.write("<script src=\""+home_page+"feeds/posts/default/-/"+label8+"?max-results="+numposts+"&orderby=published&alt=json-in-script&callback=showrecentposts\"><\/script>");
</script>
and find this code :
<ul class="slides-nav">
<li class="clearfix" id="post-1"> <a class="" href="#main-post-1"><img width="150px" height="150px" src="thumbnail of post 1" class="thumbnail"/>title of post 1</li>
<li class="clearfix" id="post-2"> <a class="" href="#main-post-2"><img width="150px" height="150px" src="thumbnail of post 2" class="thumbnail"/>title of post 2</li>
<li class="clearfix" id="post-3"> <a class="" href="#main-post-3"><img width="150px" height="150px" src="thumbnail of post 3" class="thumbnail"/>title of post 3</li>
<li class="clearfix" id="post-4"> <a class="" href="#main-post-4"><img width="150px" height="150px" src="thumbnail of post 4" class="thumbnail"/>title of post 4</li>
<li class="clearfix" id="post-5"> <a class="" href="#main-post-5"><img width="150px" height="150px" src="thumbnail of post 5" class="thumbnail"/>title of post 5</li>
</ul>
replace it by :
<script language="JavaScript">
document.write("<script src=\""+home_page+"feeds/posts/default/-/"+label8+"?max-results="+numposts+"&orderby=published&alt=json-in-script&callback=showrecentposts1\"><\/script>");
</script>
Ok,save widget and you are done .
in operating ,the code will get the information of recent posts and write it out in HTML tags format. After that ,the code of slider effect will put all HTML tags it got on slider .
In my template Simplex Darkness ,I used slider effect for recent posts like this :

To make a slider in blogspot ,I follow some steps bellow
step 1 : Using jquery and javascript to make slider effect in blogspot
step 2 : Use javascript to get information on recent posts such as title ,images ,post summary
and show them all in slider .
in this post ,I will show you the first step of making slider for recent posts .
in the page element ,create a HTML/Javascript widget
At first ,we need to styling the slider by CSS .So paste this CSS code into widget content .
<style>
/* ---------[ Slideshow ]--------- */
#home-top {
width:950px;
background:#fff;
margin:0 auto;
padding:15px 15px 5px;
overflow:hidden;
border-bottom:1px solid #ddd;
}
#slideshow {
width: 940px;
margin: 0 0 10px;
padding:0;
background:#000;
height:250px;
overflow:hidden;
border:5px solid #000;
}
#slideshow ul {
background:transparent;
margin: 0;
padding: 0;
list-style-type: none;
}
/* ---------[ Slideshow Slides ]--------- */
#slideshow .slides {
width:540px;
overflow: hidden;
float:left;
color:#fff;
}
#slideshow .slides ul {
float:left;
overflow: hidden;
width:540px;
height:250px;
}
#slideshow .slides li {
display:none;
left:-99999em;
width:540px;
height:250px;
display:block;
overflow: hidden;
background:#000;
position:relative;
z-index:1;
}
.js #slideshow .slides li {
margin: 0;
padding: 0;
list-style-type: none;
width:540px;
height:250px;
display:block;
overflow: hidden;
background:#000;
position:relative;
z-index:1;
}
.js #slideshow .slides li .entry {
width:530px;
padding: 5px;
overflow: hidden;
position:absolute;
bottom:0;
left:0;
background:#000;
filter:alpha(opacity=70);
-moz-opacity:0.7;
-khtml-opacity: 0.7;
opacity: 0.7;
}
#slideshow .slides li .entry p {
margin: 0;
}
#slideshow .slides li .entry h2 a,
#slideshow .slides li .entry h2 a:link,
#slideshow .slides li .entry h2 a:visited,
#slideshow .slides li .entry h2 a:hover,
#slideshow .slides li .entry h2 a:active {
font-size:12pt;
line-height: 1.1em;
margin:0;
color:#fff !important;
margin: 0;
letter-spacing:0;
}
/* ---------[ Slideshow Navigation ]--------- */
#slideshow ul.slides-nav {
height:250px;
width:395px;
margin:0;
padding: 0;
float:right;
overflow:hidden;
}
#slideshow .slides-nav li {
display:block;
margin:0;
padding:0;
list-style-type:none;
display:block;
}
#slideshow .slides-nav li a {
width:375px;
font-family:arial,helvetica,sans-serif;
display:block;
margin:0;
padding:10px;
list-style-type:none;
display:block;
height:30px;
color:#999;
font-size:8pt;
overflow:hidden;
background: #1A1A1A;
line-height:1.35em;
}
slides.ul li {
background-attachment:scroll;
background-color:transparent;
background-position:center top;
background-repeat:no-repeat;
display:block;
height:250px;
left:0;
opacity:1;
position:absolute;
top:0;
width:540px;
z-index:6;
}
.js #slideshow .slides-nav li.on a {
background: #292929 url(http://i604.photobucket.com/albums/tt130/metalner/simplex-darkness/featbg.gif) top left no-repeat;
color:#fff;
}
.js #slideshow .slides-nav li a:hover,
.js #slideshow .slides-nav li a:active {
color:#fff;
}
#slideshow .slides-nav li a img.post-thum,
#slideshow .slides-nav li a img.thumbnail {
float:left;
margin: 0 10px 0 0;
border:0;
padding:1px;
background:#999;
width:28px;
height:28px;
}
.js #slideshow .slides-nav li.on a img.post-thum,
.js #slideshow .slides-nav li.on a img.thumbnail {
background:#fff !important;
}
</style>
because this slider effect is based on jquery plugin named Cycle , so after CSS code above ,we need to including Jquery framework and Cycle plugin . To do this ,just add this code after CSS section :
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js" type="text/javascript"></script>
<script src="http://wp-genius.solostreamsites.com/wp-content/themes/wp-genius-dev/js/jquery.cycle.js" type="text/javascript"></script>
you can download two javascript files from url 's above and upload them to your hosting .
Now we start the main code for slider :
<div id="home-top" class="clearfix">
<div id="slideshow" class="clearfix">
<!--code of the left part : image ,title and post summary -->
<div class="slides">
<ul class="clearfix" style="position: relative;">
<li id="main-post-1" style="background: transparent url(URL-Image1) " >
<div class="entry"><h2 class="post-title"><a href="link to entry1">title of entry 1</a></h2>
<p>post summary of entry 1</p></div>
</li>
<li id="main-post-2" style="background: transparent url(URL-Image2) " >
<div class="entry"><h2 class="post-title"><a href="link to entry2">title of entry 2</a></h2>
<p>post summary of entry 2</p></div>
</li>
<li id="main-post-3" style="background: transparent url(URL-Image3) " >
<div class="entry"><h2 class="post-title"><a href="link to entry3">title of entry 3</a></h2>
<p>post summary of entry 3</p></div>
</li>
<li id="main-post-4" style="background: transparent url(URL-Image4) " >
<div class="entry"><h2 class="post-title"><a href="link to entry4">title of entry 4</a></h2>
<p>post summary of entry 4</p></div>
</li>
<li id="main-post-5" style="background: transparent url(URL-Image5) " >
<div class="entry"><h2 class="post-title"><a href="link to entry5">title of entry 5</a></h2>
<p>post summary of entry 5</p></div>
</li>
</ul>
</div>
it's the code for the left part of slider : it will show the image ,title ,post summary.
And here is the code for the right part ,this part will show only title of posts . Paste this code right after the code above .
<ul class="slides-nav">
<li class="clearfix" id="post-1"> <a class="" href="#main-post-1"><img width="150px" height="150px" src="thumbnail of post 1" class="thumbnail"/>title of post 1</li>
<li class="clearfix" id="post-2"> <a class="" href="#main-post-2"><img width="150px" height="150px" src="thumbnail of post 2" class="thumbnail"/>title of post 2</li>
<li class="clearfix" id="post-3"> <a class="" href="#main-post-3"><img width="150px" height="150px" src="thumbnail of post 3" class="thumbnail"/>title of post 3</li>
<li class="clearfix" id="post-4"> <a class="" href="#main-post-4"><img width="150px" height="150px" src="thumbnail of post 4" class="thumbnail"/>title of post 4</li>
<li class="clearfix" id="post-5"> <a class="" href="#main-post-5"><img width="150px" height="150px" src="thumbnail of post 5" class="thumbnail"/>title of post 5</li>
</ul>
</div>
</div>
look at the code of left part and right part above , you can see each href attribute of <a> tag in the right part refer to id of <li> tag in the left part ,for example ,in the left we have
<li id="main-post-1"....... >
and in the right we have
<a href="#main-post-1"......>
this mean when we click on the link in the right part ,it will show the content we need in the left part . The right work as control panel for the left part .
all the code of slider effect can't work if we don't initialize its variables .
Now ,right after
<script src="http://wp-genius.solostreamsites.com/wp-content/themes/wp-genius-dev/js/jquery.cycle.js" type="text/javascript"></script> :
add this code :
<script type="text/javascript">
In the next post ,I will tell you how to use this slider for showing recent post like what I did
Please subscribe this blog for receive update .

To make a slider in blogspot ,I follow some steps bellow
step 1 : Using jquery and javascript to make slider effect in blogspot
step 2 : Use javascript to get information on recent posts such as title ,images ,post summary
and show them all in slider .
in this post ,I will show you the first step of making slider for recent posts .
Step 1: make slider effect for blogspot
Look at the slider ,you will see it has two parts . The part in the left show the post summary and image ,part on the right show the title of posts .in the page element ,create a HTML/Javascript widget
At first ,we need to styling the slider by CSS .So paste this CSS code into widget content .
<style>
body {
color:#333333;
font-family:arial,helvetica,sans-serif;
font-size:9pt;
line-height:1.4em;
text-align:left;
}
/* ---------[ Slideshow ]--------- */
#home-top {
width:950px;
background:#fff;
margin:0 auto;
padding:15px 15px 5px;
overflow:hidden;
border-bottom:1px solid #ddd;
}
#slideshow {
width: 940px;
margin: 0 0 10px;
padding:0;
background:#000;
height:250px;
overflow:hidden;
border:5px solid #000;
}
#slideshow ul {
background:transparent;
margin: 0;
padding: 0;
list-style-type: none;
}
/* ---------[ Slideshow Slides ]--------- */
#slideshow .slides {
width:540px;
overflow: hidden;
float:left;
color:#fff;
}
#slideshow .slides ul {
float:left;
overflow: hidden;
width:540px;
height:250px;
}
#slideshow .slides li {
display:none;
left:-99999em;
width:540px;
height:250px;
display:block;
overflow: hidden;
background:#000;
position:relative;
z-index:1;
}
.js #slideshow .slides li {
margin: 0;
padding: 0;
list-style-type: none;
width:540px;
height:250px;
display:block;
overflow: hidden;
background:#000;
position:relative;
z-index:1;
}
.js #slideshow .slides li .entry {
width:530px;
padding: 5px;
overflow: hidden;
position:absolute;
bottom:0;
left:0;
background:#000;
filter:alpha(opacity=70);
-moz-opacity:0.7;
-khtml-opacity: 0.7;
opacity: 0.7;
}
#slideshow .slides li .entry p {
margin: 0;
}
#slideshow .slides li .entry h2 a,
#slideshow .slides li .entry h2 a:link,
#slideshow .slides li .entry h2 a:visited,
#slideshow .slides li .entry h2 a:hover,
#slideshow .slides li .entry h2 a:active {
font-size:12pt;
line-height: 1.1em;
margin:0;
color:#fff !important;
margin: 0;
letter-spacing:0;
}
/* ---------[ Slideshow Navigation ]--------- */
#slideshow ul.slides-nav {
height:250px;
width:395px;
margin:0;
padding: 0;
float:right;
overflow:hidden;
}
#slideshow .slides-nav li {
display:block;
margin:0;
padding:0;
list-style-type:none;
display:block;
}
#slideshow .slides-nav li a {
width:375px;
font-family:arial,helvetica,sans-serif;
display:block;
margin:0;
padding:10px;
list-style-type:none;
display:block;
height:30px;
color:#999;
font-size:8pt;
overflow:hidden;
background: #1A1A1A;
line-height:1.35em;
}
slides.ul li {
background-attachment:scroll;
background-color:transparent;
background-position:center top;
background-repeat:no-repeat;
display:block;
height:250px;
left:0;
opacity:1;
position:absolute;
top:0;
width:540px;
z-index:6;
}
.js #slideshow .slides-nav li.on a {
background: #292929 url(http://i604.photobucket.com/albums/tt130/metalner/simplex-darkness/featbg.gif) top left no-repeat;
color:#fff;
}
.js #slideshow .slides-nav li a:hover,
.js #slideshow .slides-nav li a:active {
color:#fff;
}
#slideshow .slides-nav li a img.post-thum,
#slideshow .slides-nav li a img.thumbnail {
float:left;
margin: 0 10px 0 0;
border:0;
padding:1px;
background:#999;
width:28px;
height:28px;
}
.js #slideshow .slides-nav li.on a img.post-thum,
.js #slideshow .slides-nav li.on a img.thumbnail {
background:#fff !important;
}
</style>
because this slider effect is based on jquery plugin named Cycle , so after CSS code above ,we need to including Jquery framework and Cycle plugin . To do this ,just add this code after CSS section :
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js" type="text/javascript"></script>
<script src="http://wp-genius.solostreamsites.com/wp-content/themes/wp-genius-dev/js/jquery.cycle.js" type="text/javascript"></script>
you can download two javascript files from url 's above and upload them to your hosting .
Now we start the main code for slider :
<div id="home-top" class="clearfix">
<div id="slideshow" class="clearfix">
<!--code of the left part : image ,title and post summary -->
<div class="slides">
<ul class="clearfix" style="position: relative;">
<li id="main-post-1" style="background: transparent url(URL-Image1) " >
<div class="entry"><h2 class="post-title"><a href="link to entry1">title of entry 1</a></h2>
<p>post summary of entry 1</p></div>
</li>
<li id="main-post-2" style="background: transparent url(URL-Image2) " >
<div class="entry"><h2 class="post-title"><a href="link to entry2">title of entry 2</a></h2>
<p>post summary of entry 2</p></div>
</li>
<li id="main-post-3" style="background: transparent url(URL-Image3) " >
<div class="entry"><h2 class="post-title"><a href="link to entry3">title of entry 3</a></h2>
<p>post summary of entry 3</p></div>
</li>
<li id="main-post-4" style="background: transparent url(URL-Image4) " >
<div class="entry"><h2 class="post-title"><a href="link to entry4">title of entry 4</a></h2>
<p>post summary of entry 4</p></div>
</li>
<li id="main-post-5" style="background: transparent url(URL-Image5) " >
<div class="entry"><h2 class="post-title"><a href="link to entry5">title of entry 5</a></h2>
<p>post summary of entry 5</p></div>
</li>
</ul>
</div>
it's the code for the left part of slider : it will show the image ,title ,post summary.
And here is the code for the right part ,this part will show only title of posts . Paste this code right after the code above .
<ul class="slides-nav">
<li class="clearfix" id="post-1"> <a class="" href="#main-post-1"><img width="150px" height="150px" src="thumbnail of post 1" class="thumbnail"/>title of post 1</li>
<li class="clearfix" id="post-2"> <a class="" href="#main-post-2"><img width="150px" height="150px" src="thumbnail of post 2" class="thumbnail"/>title of post 2</li>
<li class="clearfix" id="post-3"> <a class="" href="#main-post-3"><img width="150px" height="150px" src="thumbnail of post 3" class="thumbnail"/>title of post 3</li>
<li class="clearfix" id="post-4"> <a class="" href="#main-post-4"><img width="150px" height="150px" src="thumbnail of post 4" class="thumbnail"/>title of post 4</li>
<li class="clearfix" id="post-5"> <a class="" href="#main-post-5"><img width="150px" height="150px" src="thumbnail of post 5" class="thumbnail"/>title of post 5</li>
</ul>
</div>
</div>
look at the code of left part and right part above , you can see each href attribute of <a> tag in the right part refer to id of <li> tag in the left part ,for example ,in the left we have
<li id="main-post-1"....... >
and in the right we have
<a href="#main-post-1"......>
this mean when we click on the link in the right part ,it will show the content we need in the left part . The right work as control panel for the left part .
all the code of slider effect can't work if we don't initialize its variables .
Now ,right after
<script src="http://wp-genius.solostreamsites.com/wp-content/themes/wp-genius-dev/js/jquery.cycle.js" type="text/javascript"></script> :
add this code :
<script type="text/javascript">
$slideshow = {
context: false,
tabs: false,
timeout: 7000, // time before next slide appears (in ms)
slideSpeed: 1000, // time it takes to slide in each slide (in ms)
tabSpeed: 1000, // time it takes to slide in each slide (in ms)
fx: 'fade', // the slide effect to use
init: function() {
// set the context to help speed up selectors/improve performance
this.context = $('#slideshow');
// set tabs to current hard coded navigation items
this.tabs = $('ul.slides-nav li', this.context);
// remove hard coded navigation items from DOM
// because they aren't hooked up to jQuery cycle
this.tabs.remove();
// prepare slideshow and jQuery cycle tabs
this.prepareSlideshow();
},
prepareSlideshow: function() {
// initialise the jquery cycle plugin -
// for information on the options set below go to:
// http://malsup.com/jquery/cycle/options.html
$('div.slides > ul', $slideshow.context).cycle({
fx: $slideshow.fx,
timeout: $slideshow.timeout,
speed: $slideshow.slideSpeed,
fastOnEvent: $slideshow.tabSpeed,
pager: $('ul.slides-nav', $slideshow.context),
pagerAnchorBuilder: $slideshow.prepareTabs,
before: $slideshow.activateTab,
pauseOnPagerHover: true,
pause: true
});
},
prepareTabs: function(i, slide) {
// return markup from hardcoded tabs for use as jQuery cycle tabs
// (attaches necessary jQuery cycle events to tabs)
return $slideshow.tabs.eq(i);
},
activateTab: function(currentSlide, nextSlide) {
// get the active tab
var activeTab = $('a[href="#' + nextSlide.id + '"]', $slideshow.context);
// if there is an active tab
if(activeTab.length) {
// remove active styling from all other tabs
$slideshow.tabs.removeClass('on');
// add active styling to active button
activeTab.parent().addClass('on');
}
}
};
$(function() {
// add a 'js' class to the body
$('body').addClass('js');
// initialise the slideshow when the DOM is ready
$slideshow.init();
});
</script>
ok . Save widget and check out the slider for its operationIn the next post ,I will tell you how to use this slider for showing recent post like what I did
Please subscribe this blog for receive update .
P/s: there are some errors in Simplex Next template that cause it can't show feature posts in right way . I fixed it and provided new download link . Click on download and check it out
I would like to introduce to you my new template .It's named Simplex Next , a template in blog style . I think it can be used for tech blog or blog on auto industry .

Live demo | Download
There are a translated version of this template in Portuguese . It also contain an install instruction in Portuguese . You can Download it here
Gabriel Silveira.from Brazil is the person who translated this template . Thanks you so much,Gabriel .
Install instruction
1,Download template file and unzip . You get a template file in xml format and a folder of images .
2,Upload all images to a image hosting service . I recommend Photobucket
3,Open xml template file in your word editor .I recommend Notepad++ for editing template file . Notepad++ is a very useful program for editing ,and it's free . You can get it here
4,Find this code :

Change the blog url to your blog url . I marked an arrow to where need to change .
5, Save template . And upload it to your blogger.
6,You can add widgets to this template . It's widget ready
7,To make your post showed in feature post ,add a label "Feature" to your post in Labels for this post text box
Hope you enjoy it .

I would like to introduce to you my new template .It's named Simplex Next , a template in blog style . I think it can be used for tech blog or blog on auto industry .

Live demo | Download
There are a translated version of this template in Portuguese . It also contain an install instruction in Portuguese . You can Download it here
Gabriel Silveira.from Brazil is the person who translated this template . Thanks you so much,Gabriel .
Install instruction
1,Download template file and unzip . You get a template file in xml format and a folder of images .
2,Upload all images to a image hosting service . I recommend Photobucket
3,Open xml template file in your word editor .I recommend Notepad++ for editing template file . Notepad++ is a very useful program for editing ,and it's free . You can get it here
4,Find this code :

Change the blog url to your blog url . I marked an arrow to where need to change .
5, Save template . And upload it to your blogger.
6,You can add widgets to this template . It's widget ready
7,To make your post showed in feature post ,add a label "Feature" to your post in Labels for this post text box
Hope you enjoy it .

Jquery is one of the most popular tool in designing web 2.0 . It make our site become interesting . But remember all functions in Jquery is not easy . And here is the solution .
jQuery Visual Cheat Sheet is an useful and practical reference to jQuery 1.3 for web designers and developers designed by Antonio Lupetti . This cheat sheet (6 pages) contains the full jQuery API reference with detailed descriptions and some sample code.

Download here
jQuery Visual Cheat Sheet is an useful and practical reference to jQuery 1.3 for web designers and developers designed by Antonio Lupetti . This cheat sheet (6 pages) contains the full jQuery API reference with detailed descriptions and some sample code.

Download here
In blogger ,recen post widget is ready to use . But I have another widget script and I want to introduce it to you and explain how it work . This script is used many times in templates I designed and I think if I show it here and make a little explanation , you can solve some problems occurred when using my template .

here is the complete code . Just copy and paste this code to widget content .
<style type="text/css">
.featured {
background: #FFFFFF;
float: left;
width: 250px;
margin: 0px 10px 20px 0px;
padding: 10px 10px 10px 10px;
border: 1px dotted #94B1DF;
}
.featured img {
border: none;
margin: 0px 10px 0px 0px;
float: left;
width:70px;
height:70px;
}
#content {
width: 600px;
margin: 0px auto 0px;
padding: 10px 0px 0px 0px;
line-height: 18px;
}
#content h3 {
background: #FFFFFF url(http://farm3.static.flickr.com/2656/3807676662_397525ba0b_o.gif);
color: #FFFFFF;
font-size: 12px;
font-family: Arial, Tahoma, Verdana;
font-weight: bold;
text-align: center;
text-transform: uppercase;
margin: 0px 0px 10px 0px;
padding: 7px 0px 5px 0px;
}
.botline {
border-bottom: 1px dotted rgb(148, 177, 223);
padding: 0px 0px 10px;
margin-bottom: 10px;
clear: both;
}
</style>
<script language="JavaScript">
imgr = new Array();
imgr[0] = "http://sites.google.com/site/fdblogsite/Home/nothumbnail.gif";
showRandomImg = true;
aBold = true;
summaryPost = 70;
summaryTitle = 25;
numposts = 3;
home_page = "http://simplexdesign.blogspot.com/";
label = "blogger";
tLabel = "blogger";
Title = "blogger";
function removeHtmlTag(strx,chop){
var s = strx.split("<");
for(var i=0;i<s.length;i++){
if(s[i].indexOf(">")!=-1){
s[i] = s[i].substring(s[i].indexOf(">")+1,s[i].length);
}
}
s = s.join("");
s = s.substring(0,chop-1);
return s;
}
function showrecentposts(json) {
j = (showRandomImg) ? Math.floor((imgr.length+1)*Math.random()) : 0;
img = new Array();
for (var i = 0; i < numposts; i++) {
var entry = json.feed.entry[i];
var posttitle = entry.title.$t;
var pcm;
var posturl;
if (i == json.feed.entry.length) break;
for (var k = 0; k < entry.link.length; k++) {
if (entry.link[k].rel == 'alternate') {
posturl = entry.link[k].href;
break;
}
}
for (var k = 0; k < entry.link.length; k++) {
if (entry.link[k].rel == 'replies' && entry.link[k].type == 'text/html') {
pcm = entry.link[k].title.split(" ")[0];
break;
}
}
if ("content" in entry) {
var postcontent = entry.content.$t;}
else
if ("summary" in entry) {
var postcontent = entry.summary.$t;}
else var postcontent = "";
postdate = entry.published.$t;
if(j>imgr.length-1) j=0;
img[i] = imgr[j];
s = postcontent ; a = s.indexOf("<img"); b = s.indexOf("src=\"",a); c = s.indexOf("\"",b+5); d = s.substr(b+5,c-b-5);
if((a!=-1)&&(b!=-1)&&(c!=-1)&&(d!="")) img[i] = d;
cmtext = (text != 'no') ? '<i><font color="'+acolor+'">('+pcm+' '+text+')</font></i>' : '';
var month = [1,2,3,4,5,6,7,8,9,10,11,12];
var month2 = ["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];
var day = postdate.split("-")[2].substring(0,2);
var m = postdate.split("-")[1];
var y = postdate.split("-")[0];
for(var u2=0;u2<month.length;u2++){
if(parseInt(m)==month[u2]) {
m = month2[u2] ; break;
}
}
var daystr = (showPostDate) ? '<i><font color="'+acolor+'"> - ('+day+ ' ' + m + ' ' + y + ')</font></i>' : "";
posttitle = (aBold) ? "<b>"+posttitle+"</b>" : posttitle;
var trtd = '<a href="'+posturl+'"><img src="'+img[i]+'"></a><a href="'+posturl+'"><b>'+removeHtmlTag(posttitle,summaryTitle)+'...</b></a><br/>'+removeHtmlTag(postcontent,summaryPost)+'...<div class="botline"></div>';
document.write(trtd);
j++;
}
}
document.write('<div class="featured">');
document.write('<h3>'+Title+'</h3>');
document.write("<script src=\""+home_page+"feeds/posts/default/-/"+label+"?max-results="+numposts+"&orderby=published&alt=json-in-script&callback=showrecentposts\"><\/script>");
document.write('<b><a href="'+home_page+'search/label/'+label+'?max-results=10">More '+tLabel+'</a></b>');
document.write('</div>');
</script>
Explanation
When it start , this script will get the feed of blog at address which assigned in variable home_page and get the posts under with labels assigned in variable label
The number of recent posts will be showed is assigned in variable numposts
The number of character in post title will be showed is assigned in variable summaryTitle
The number of character in post summary will be showed is assigned in variable summaryPost

here is the complete code . Just copy and paste this code to widget content .
<style type="text/css">
.featured {
background: #FFFFFF;
float: left;
width: 250px;
margin: 0px 10px 20px 0px;
padding: 10px 10px 10px 10px;
border: 1px dotted #94B1DF;
}
.featured img {
border: none;
margin: 0px 10px 0px 0px;
float: left;
width:70px;
height:70px;
}
#content {
width: 600px;
margin: 0px auto 0px;
padding: 10px 0px 0px 0px;
line-height: 18px;
}
#content h3 {
background: #FFFFFF url(http://farm3.static.flickr.com/2656/3807676662_397525ba0b_o.gif);
color: #FFFFFF;
font-size: 12px;
font-family: Arial, Tahoma, Verdana;
font-weight: bold;
text-align: center;
text-transform: uppercase;
margin: 0px 0px 10px 0px;
padding: 7px 0px 5px 0px;
}
.botline {
border-bottom: 1px dotted rgb(148, 177, 223);
padding: 0px 0px 10px;
margin-bottom: 10px;
clear: both;
}
</style>
<script language="JavaScript">
imgr = new Array();
imgr[0] = "http://sites.google.com/site/fdblogsite/Home/nothumbnail.gif";
showRandomImg = true;
aBold = true;
summaryPost = 70;
summaryTitle = 25;
numposts = 3;
home_page = "http://simplexdesign.blogspot.com/";
label = "blogger";
tLabel = "blogger";
Title = "blogger";
function removeHtmlTag(strx,chop){
var s = strx.split("<");
for(var i=0;i<s.length;i++){
if(s[i].indexOf(">")!=-1){
s[i] = s[i].substring(s[i].indexOf(">")+1,s[i].length);
}
}
s = s.join("");
s = s.substring(0,chop-1);
return s;
}
function showrecentposts(json) {
j = (showRandomImg) ? Math.floor((imgr.length+1)*Math.random()) : 0;
img = new Array();
for (var i = 0; i < numposts; i++) {
var entry = json.feed.entry[i];
var posttitle = entry.title.$t;
var pcm;
var posturl;
if (i == json.feed.entry.length) break;
for (var k = 0; k < entry.link.length; k++) {
if (entry.link[k].rel == 'alternate') {
posturl = entry.link[k].href;
break;
}
}
for (var k = 0; k < entry.link.length; k++) {
if (entry.link[k].rel == 'replies' && entry.link[k].type == 'text/html') {
pcm = entry.link[k].title.split(" ")[0];
break;
}
}
if ("content" in entry) {
var postcontent = entry.content.$t;}
else
if ("summary" in entry) {
var postcontent = entry.summary.$t;}
else var postcontent = "";
postdate = entry.published.$t;
if(j>imgr.length-1) j=0;
img[i] = imgr[j];
s = postcontent ; a = s.indexOf("<img"); b = s.indexOf("src=\"",a); c = s.indexOf("\"",b+5); d = s.substr(b+5,c-b-5);
if((a!=-1)&&(b!=-1)&&(c!=-1)&&(d!="")) img[i] = d;
cmtext = (text != 'no') ? '<i><font color="'+acolor+'">('+pcm+' '+text+')</font></i>' : '';
var month = [1,2,3,4,5,6,7,8,9,10,11,12];
var month2 = ["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];
var day = postdate.split("-")[2].substring(0,2);
var m = postdate.split("-")[1];
var y = postdate.split("-")[0];
for(var u2=0;u2<month.length;u2++){
if(parseInt(m)==month[u2]) {
m = month2[u2] ; break;
}
}
var daystr = (showPostDate) ? '<i><font color="'+acolor+'"> - ('+day+ ' ' + m + ' ' + y + ')</font></i>' : "";
posttitle = (aBold) ? "<b>"+posttitle+"</b>" : posttitle;
var trtd = '<a href="'+posturl+'"><img src="'+img[i]+'"></a><a href="'+posturl+'"><b>'+removeHtmlTag(posttitle,summaryTitle)+'...</b></a><br/>'+removeHtmlTag(postcontent,summaryPost)+'...<div class="botline"></div>';
document.write(trtd);
j++;
}
}
document.write('<div class="featured">');
document.write('<h3>'+Title+'</h3>');
document.write("<script src=\""+home_page+"feeds/posts/default/-/"+label+"?max-results="+numposts+"&orderby=published&alt=json-in-script&callback=showrecentposts\"><\/script>");
document.write('<b><a href="'+home_page+'search/label/'+label+'?max-results=10">More '+tLabel+'</a></b>');
document.write('</div>');
</script>
Explanation
When it start , this script will get the feed of blog at address which assigned in variable home_page and get the posts under with labels assigned in variable label
The number of recent posts will be showed is assigned in variable numposts
The number of character in post title will be showed is assigned in variable summaryTitle
The number of character in post summary will be showed is assigned in variable summaryPost
Blogger comment form has a mode which only allow comment when enter the right word verification . But sometime we can't see the verification word because size of comment form is too small .
Can't see the verification word ,can't comment . How to fix this problem for your blog ?

in this picture of comment form ,you can see the verification word but you can't see the box to type this word into ,and see no button to submit your comment .
The solution here is adding a scrolling bar for comment form .
To do that ,follow some steps bellow :
1,Login to Blogger account
Go to Layout ,continue to Edit in HTML .
Checked Expand Widgets template
2,Find this code :
<iframe allowtransparency='true' class='blogger-iframe-colorize' frameborder='0' height='275' id='comment-editor' scrolling='no' src='' width='417'/>
and change it to :
<iframe allowtransparency='true' class='blogger-iframe-colorize' frameborder='0' height='275' id='comment-editor' scrolling='auto' src='' width='417'/>
Save template . Ok,you are done .
But if you don't want to add a scroll bar to comment form ,you can make your comment form larger by changing the code above to this :
<iframe allowtransparency='true' class='blogger-iframe-colorize' frameborder='0' height='475' id='comment-editor' scrolling='no' src='' width='417'/>
Can't see the verification word ,can't comment . How to fix this problem for your blog ?

in this picture of comment form ,you can see the verification word but you can't see the box to type this word into ,and see no button to submit your comment .
The solution here is adding a scrolling bar for comment form .
To do that ,follow some steps bellow :
1,Login to Blogger account
Go to Layout ,continue to Edit in HTML .
Checked Expand Widgets template
2,Find this code :
<iframe allowtransparency='true' class='blogger-iframe-colorize' frameborder='0' height='275' id='comment-editor' scrolling='no' src='' width='417'/>
and change it to :
<iframe allowtransparency='true' class='blogger-iframe-colorize' frameborder='0' height='275' id='comment-editor' scrolling='auto' src='' width='417'/>
Save template . Ok,you are done .
But if you don't want to add a scroll bar to comment form ,you can make your comment form larger by changing the code above to this :
<iframe allowtransparency='true' class='blogger-iframe-colorize' frameborder='0' height='475' id='comment-editor' scrolling='no' src='' width='417'/>
Some people asked me for inserting google adsense ads in blog post under post title .
in general ,we insert ads by creating a HTML/Javascript widget and paste the adsense code into the widget content . But we can't insert a widget under post title in Google Blogger .
Here is a small tip for you to insert google adsense under post title :
1, Get the Adsense code . Your Adsense code will look like this :
<script type="text/javascript"><!--
google_ad_client = "pub-xxxxxxxxxxx";
google_ad_slot = "0976076963";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script
src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
</script>
Go to this address and paste the adsense code into text box ,click on encode . You will have encoded Adsense code .
2,Login to your blogger account , go to Layout ,continue to Edit HTML . Checked "Expand widgets template"
Find this : <data:post.body/>
copy the encoded code in step 1 and paste it above <data:post.body/> like this
Encoded Adsense code
<data:post.body/>
Save template .Ok ,you are done . Until now ,Adsense ads will be displayed under post title in your Blogger
in general ,we insert ads by creating a HTML/Javascript widget and paste the adsense code into the widget content . But we can't insert a widget under post title in Google Blogger .
Here is a small tip for you to insert google adsense under post title :
1, Get the Adsense code . Your Adsense code will look like this :
<script type="text/javascript"><!--
google_ad_client = "pub-xxxxxxxxxxx";
google_ad_slot = "0976076963";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script
src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
</script>
Go to this address and paste the adsense code into text box ,click on encode . You will have encoded Adsense code .
2,Login to your blogger account , go to Layout ,continue to Edit HTML . Checked "Expand widgets template"
Find this : <data:post.body/>
copy the encoded code in step 1 and paste it above <data:post.body/> like this
Encoded Adsense code
<data:post.body/>
Save template .Ok ,you are done . Until now ,Adsense ads will be displayed under post title in your Blogger
Docking menu is very popular in web 2.0 generation and it's the coolest effect for menu . You can take a look on live demo below

Live demo
To create a docking menu for your blog ,do some simple steps bellow :
1,login to your blogger account
2,go to layout ,continue to Page elements
3,Create a HTML/Javascript widget and paste the code bellow into the widget content :
<script type="text/javascript" src="http://dinhquanghuy.110mb.com/jquery1.js"></script>
<script type="text/javascript" src="http://dinhquanghuy.110mb.com/interface.js"></script>
<script type="text/javascript">
$(document).ready(
function()
{
$('#dock').Fisheye(
{
maxWidth: 50,
items: 'a',
itemsText: 'span',
container: '.dock-container',
itemWidth: 90,
proximity: 90,
halign : 'center'
}
)
}
);
</script>
<style type="text/css">
.dock {
position: relative;
height: 50px;
padding-left:0px;
margin-top:0px;
}
.dock-container {
position: absolute;
height: 50px;
padding-left: 20px;
}
a.dock-item {
display: block;
width: 60px;
color: #000;
position: absolute;
top: 0px;
text-align: center;
text-decoration: none;
font: 14px Arial, Helvetica, sans-serif;
}
.dock-item img {
border: none;
margin: 5px 10px 0px;
width: 100%;
}
.dock-item span {
display: block;
padding-left: 20px;
}
</style>
<div style="display: block;" class="dock" id="dock">
<div style="left: -7.48972px; width: 814.979px;" class="dock-container">
<a style="width: 90px; left: 0px;" class="dock-item" href="link 1"><img src="http://i342.photobucket.com/albums/o433/bkprobk/home.png" alt="home"><span style="display:block;">Home page</span></a>
<a style="width: 90px; left: 90px;" class="dock-item" href="link 2"><img src="http://i342.photobucket.com/albums/o433/bkprobk/about.png" alt="Gi�i thi�u"><span style="display:block;">Introduce</span></a>
<a style="width: 90px; left: 180px;" class="dock-item" href="link 3"><img src="http://i342.photobucket.com/albums/o433/bkprobk/dichvu.png" alt="D�ch vụ"><span>Service</span></a>
<a style="width: 90px; left: 270px;" class="dock-item" href="link 4"><img
src="http://i342.photobucket.com/albums/o433/bkprobk/sanpham.png" alt="Site �ã thiết kế">Customer</a>
<a style="width: 90px; left: 360px;" class="dock-item" href="link 5"><img
src="http://i342.photobucket.com/albums/o433/bkprobk/template.png" alt="Template"><span style="display: block;">Template</span></a>
<a style="width: 90px; left: 450px;" class="dock-item" href="link 6"><img
src="http://i342.photobucket.com/albums/o433/bkprobk/history.png" alt="history"><span style="display:block;">Advisor</span></a>
<a style="width: 134.979px; left: 540px;" class="dock-item" href="link 7"><img
src="http://i342.photobucket.com/albums/o433/bkprobk/doitac.png" alt="calendar"><span style="display:block;">Partners</span></a>
<a style="width: 140px; left: 674.979px;" class="dock-item" href="link 8"><img
src="http://i342.photobucket.com/albums/o433/bkprobk/email.png" alt="rss"><span style="display:block;">Contact</span></a>
</div>
</div>

Live demo
To create a docking menu for your blog ,do some simple steps bellow :
1,login to your blogger account
2,go to layout ,continue to Page elements
3,Create a HTML/Javascript widget and paste the code bellow into the widget content :
<script type="text/javascript" src="http://dinhquanghuy.110mb.com/jquery1.js"></script>
<script type="text/javascript" src="http://dinhquanghuy.110mb.com/interface.js"></script>
<script type="text/javascript">
$(document).ready(
function()
{
$('#dock').Fisheye(
{
maxWidth: 50,
items: 'a',
itemsText: 'span',
container: '.dock-container',
itemWidth: 90,
proximity: 90,
halign : 'center'
}
)
}
);
</script>
<style type="text/css">
.dock {
position: relative;
height: 50px;
padding-left:0px;
margin-top:0px;
}
.dock-container {
position: absolute;
height: 50px;
padding-left: 20px;
}
a.dock-item {
display: block;
width: 60px;
color: #000;
position: absolute;
top: 0px;
text-align: center;
text-decoration: none;
font: 14px Arial, Helvetica, sans-serif;
}
.dock-item img {
border: none;
margin: 5px 10px 0px;
width: 100%;
}
.dock-item span {
display: block;
padding-left: 20px;
}
</style>
<div style="display: block;" class="dock" id="dock">
<div style="left: -7.48972px; width: 814.979px;" class="dock-container">
<a style="width: 90px; left: 0px;" class="dock-item" href="link 1"><img src="http://i342.photobucket.com/albums/o433/bkprobk/home.png" alt="home"><span style="display:block;">Home page</span></a>
<a style="width: 90px; left: 90px;" class="dock-item" href="link 2"><img src="http://i342.photobucket.com/albums/o433/bkprobk/about.png" alt="Gi�i thi�u"><span style="display:block;">Introduce</span></a>
<a style="width: 90px; left: 180px;" class="dock-item" href="link 3"><img src="http://i342.photobucket.com/albums/o433/bkprobk/dichvu.png" alt="D�ch vụ"><span>Service</span></a>
<a style="width: 90px; left: 270px;" class="dock-item" href="link 4"><img
src="http://i342.photobucket.com/albums/o433/bkprobk/sanpham.png" alt="Site �ã thiết kế">Customer</a>
<a style="width: 90px; left: 360px;" class="dock-item" href="link 5"><img
src="http://i342.photobucket.com/albums/o433/bkprobk/template.png" alt="Template"><span style="display: block;">Template</span></a>
<a style="width: 90px; left: 450px;" class="dock-item" href="link 6"><img
src="http://i342.photobucket.com/albums/o433/bkprobk/history.png" alt="history"><span style="display:block;">Advisor</span></a>
<a style="width: 134.979px; left: 540px;" class="dock-item" href="link 7"><img
src="http://i342.photobucket.com/albums/o433/bkprobk/doitac.png" alt="calendar"><span style="display:block;">Partners</span></a>
<a style="width: 140px; left: 674.979px;" class="dock-item" href="link 8"><img
src="http://i342.photobucket.com/albums/o433/bkprobk/email.png" alt="rss"><span style="display:block;">Contact</span></a>
</div>
</div>
Many peoples ask me how to insert widgets in elements in blogspot such as sidebar ,main post ,or header in a template . They can't add widgets from Page elements because they see no "Add a widget" link . It mean template is not widget ready .
How to enable widgets function to all element in your blog ? and you can insert widgets in any place you like ?
I explained this in comments for template Simplex Darkness ,and now I write it down here as a tip for any template .
It's very simple .You can see in template files, widget is covered by this tags :
<b:section id='section_id' preferred='yes'>
widget 1
widget 2
widget 3
</b:section>
To enable widget function to a element in blog ,you can add this
<b:section id='section_id' preferred='yes'>
</b:section>
in template file ,where you want to insert widget . For example ,in header, the layout tags of header like this :
<div id="header">
......
content of header
.........
</div>
to insert widget in header ,just insert code above between <div id="header"> and </div> like this
<div id="header">
......
content of header
.........
<b:section id='section_id' preferred='yes'>
</b:section>
</div>
now you can insert widgets in header . The same to other elements such as sidebar or main post ,or footer ...
pay attention to the code
<b:section id='section_id' preferred='yes'>
</b:section>
section_id is id of section ,it must be unique .
preferred='yes' : mean it will show " Add a widget " link in Page elements . If you set this value 'no' . You will see no link "Add a widget" in Page elements .
Hope this helpful to you

How to enable widgets function to all element in your blog ? and you can insert widgets in any place you like ?
I explained this in comments for template Simplex Darkness ,and now I write it down here as a tip for any template .
It's very simple .You can see in template files, widget is covered by this tags :
<b:section id='section_id' preferred='yes'>
widget 1
widget 2
widget 3
</b:section>
To enable widget function to a element in blog ,you can add this
<b:section id='section_id' preferred='yes'>
</b:section>
in template file ,where you want to insert widget . For example ,in header, the layout tags of header like this :
<div id="header">
......
content of header
.........
</div>
to insert widget in header ,just insert code above between <div id="header"> and </div> like this
<div id="header">
......
content of header
.........
<b:section id='section_id' preferred='yes'>
</b:section>
</div>
now you can insert widgets in header . The same to other elements such as sidebar or main post ,or footer ...
pay attention to the code
<b:section id='section_id' preferred='yes'>
</b:section>
section_id is id of section ,it must be unique .
preferred='yes' : mean it will show " Add a widget " link in Page elements . If you set this value 'no' . You will see no link "Add a widget" in Page elements .
Hope this helpful to you



