
How to get more clicks on links.
Recent Post Demo!
Let's begin the tutorial.
How To Add It To Blogger Blog
- Go to blogger layout section
- Click Add A Gadget.
- In Add A Gadget window, select HTML/JavaScript .
- Copy the code below and paste it inside the content box.
- Save the gadget.
- Drag the gadget and reposition it where you want to show recent posts.
- Click Save button (top right hand corner).
<style>
#bob_recent {
width:300px;
padding: 5px;
color: #999;
font-size: 14px;
text-align:justify;
}
#bob_recent img {
width: 70px;
height: auto;
border-top:5px groove #00a4ef !important;
border-bottom:5px groove #ffb900 !important;
border-right:5px groove #7fba00 !important;
border-left:5px groove #f25022 !important;
webkit-box-shadow:1px 1px 1px rgba(0,0,0,0.2);
box-shadow:1px 1px 1px rgba(0,0,0,0.2);
}
#bob_recent a{
color: #fff;
font-size: 15px;
text-transformation: uppercase;
margin-bottom: 10px!important;
}
#bob_recent a:hover {
text-decoration: underline;
}
</style>
<div id='bob_recent'></div>
<script type="text/javascript" src="https://blog-of-blogger.googlecode.com/svn/trunk/js/recentposts-orig.js"></script>
<script style='text/javascript'>
var numberOfPosts = 9;
var showPostDate = false;
var showSummary = false;
var summaryLength = 0;
var titleLength = 0;
var showCommentCount = false;
var showThumbs = true;
var showNoImage = true;
var imgDim = 55;
var imgFloat = 'left';
var myMargin = 5;
var mediaThumbsOnly = true;
var showReadMore = false;
var readMore = 'Read More';
</script>
<script src='http://www.BlogofBlogger.com/feeds/posts/summary?max-results=10&orderby=published&alt=json-in-script&callback=bobrecentpostswiththumbnails'></script>
Widget Customizations
1. Simply replace the http://www.BlogofBlogger.com with your own blog address (Url) which is include "http://".2. Widget comes with fixed width you can also edit width by changing following value (300 to 350 e.g.).
width: 300px;
0 comments:
Post a Comment