- Login into blogger.com
- Select your blog if you have many
- Then migrate to Layout --> Click on "Add A Gadget"
- You get a windows open then find for HTML / JAVASCRIPT and click "+" button
- Then copy the below code and paste it there and make your editing.
- Then click on save.
- You may visit you blog and have fun. Remember you can also move your widget and choose a better place for your popular post widget with scrolling effect for blogger.
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
<style type="text/css" media="screen">
<!--
#spylist {
overflow:hidden;
margin-top:4px;
padding:0px 0px;
height:349px;
}
#spylist ul{
width:219px;
overflow:hidden;
list-style-type: none;
padding: 0px 0px;
margin:0px 0px;
}
#spylist li {
width:209px;
padding: 5px 5px;
margin:0px 0px 5px 0px;
list-style-type:none;
float:none;
height:69px;
overflow: hidden;
background:#fff url(https://lh3.googleusercontent.com/-ubVM3kVufho/UUVwDo0TLKI/AAAAAAAABBE/l2QxU6Z363U/h120/bdlab-blogspot-com.jpg) repeat-x;
border:2px solid #ddd;
}
#spylist li a {
text-decoration:none;
color:#444e56;
font-size:12px;
height:17px;
overflow:hidden;
margin:0px 0px;
padding:0px 0px 2px 0px;
}
#spylist li img {
float:left;
margin-right:5px;
background:#f4eeee;
border:0;
}
.spydate{
overflow:hidden;
font-size:11px;
color:#007cb5;
padding:2px 0px;
margin:1px 0px 0px 0px;
height:14px;
font-family:Tahoma,Arial,sans-serif;
}
.spycomment{
overflow:hidden;
font-family:Tahoma,Arial,verdana, sans-serif;
font-size:9px;
color:#272b2e;
padding:0px 0px;
margin:0px 0px;
}
-->
</style>
<script language='JavaScript'>
imgr = new Array();
imgr[0] = "https://lh5.googleusercontent.com/-jpWYcHExk_o/UUVu-TKOXeI/AAAAAAAABA0/jN2dyzOde10/h120/noimage.png";
imgr[1] = "https://lh5.googleusercontent.com/-jpWYcHExk_o/UUVu-TKOXeI/AAAAAAAABA0/jN2dyzOde10/h120/noimage.png";
imgr[2] = "https://lh5.googleusercontent.com/-jpWYcHExk_o/UUVu-TKOXeI/AAAAAAAABA0/jN2dyzOde10/h120/noimage.png";
imgr[3] = "https://lh5.googleusercontent.com/-jpWYcHExk_o/UUVu-TKOXeI/AAAAAAAABA0/jN2dyzOde10/h120/noimage.png";
imgr[4] = "https://lh5.googleusercontent.com/-jpWYcHExk_o/UUVu-TKOXeI/AAAAAAAABA0/jN2dyzOde10/h120/noimage.png";
showRandomImg = true;
boxwidth = 254;
cellspacing = 5;
borderColor = "#232c35";
bgTD = "#000000";
thumbwidth = 69;
thumbheight = 69;
fntsize = 13;
acolor = "#555";
aBold = false;
icon = " ";
text = "comments";
showPostDate = true;
summaryPost = 39;
summaryFontsize = 9;
summaryColor = "#555";
icon2 = " ";
numposts = 9;
home_page = "http://wehelpalways.blogspot.in/";
limitspy=3
intervalspy=3000
</script>
<div id="spylist">
<script src='https://relatedpostcbt.googlecode.com/files/recentpost.js' type='text/javascript'></script>
</div>
- Now go for TEMPLATE --> Click on "EDIT HTML"
- Then find for </head> then copy the below code and paste the code just above / before it.
- Then click on save template.
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js' type='text/javascript'></script>
CUSTOMIZATION OF THE ABOVE CODE
Just find the highlighted codes and make the changes, as you wish to appear it in your blog.- Also the yellow highlighted code with the link "http://wehelpalways.blogspot.in/" and you need to change the code also.
- Remember you can also have a look at the width and heights, If you want to change the thumb image , width and height then go for thumbwidth = 69; thumbheight = 69;
- And If you want to delete the date from the widget than go for this showPostDate = true; and replace it with showPostDate = False;
- You Can Change Summery, Color And Size Of Font using this code
summaryPost = 39;
summaryFontsize = 9;
summaryColor = "#555";
HOPE THIS IS DONE
ALSO HAVE A LOOK AT VIDEO TUTORIAL BELOW IF ANY DOUBTS IN ADDING THE CODE
0 comments:
Post a Comment