Like Us

Footer Links

Latest Posts

Adding Smooth ‘Scroll to Top’ Button to Blogger using jQuery

- Tuesday, 31 December 2013 No Comments
add scroll to top buttons to blogger blogsI in my previous post shared a unique list of ‘back to top'/bottom’ buttons. And today in this post I'll show you how to use those ‘back to top'/bottom’ buttons efficiently in you blog. We’ll be using simple jQuery scripts to add smooth scrolling effect to the buttons.
‘Back to top’ buttons are among the essentials you should add to your blog. It not only make the site more navigable but also adds a professional look to your blog. So it’s strongly recommend to have a scroll to top button in your blog. And you can add one to your blog easily by following the simple steps below.




SEE: 110+ ‘Back to Top’ and ‘Back to Bottom’ Buttons

 ♪♫ GOOD BYE 2013 ♪♫
 

HOW TO ADD SCROLL TO TOP BUTTONS TO BLOGGER  BLOGS

  • Firstly, navigate to Blogger > Layout.
  • Now choose Add a gadget > HTML/JavaScript widget.
  • Now copy the below code and paste it inside the widget.
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" >
/***********************************************
* Scroll To Top Control script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Modified by www.BloggsLab.com
* This notice MUST stay intact for legal use
* Visit Project Page at http://www.dynamicdrive.com for full source code
***********************************************/
var scrolltotop={
    //startline: Integer. Number of pixels from top of doc scrollbar is scrolled before showing control
    //scrollto: Keyword (Integer, or "Scroll_to_Element_ID"). How far to scroll document up when control is clicked on (0=top).
    setting: {startline:100, scrollto: 0, scrollduration:1000, fadeduration:[500, 100]},
    controlHTML: '<img src="IMAGE LINK" />', //HTML for control, which is auto wrapped in DIV w/ ID="topcontrol"
    controlattrs: {offsetx:5, offsety:5}, //offset of control relative to right/ bottom of window corner
    anchorkeyword: '#top', //Enter href value of HTML anchors on the page that should also act as "Scroll Up" links
    state: {isvisible:false, shouldvisible:false},
    scrollup:function(){
        if (!this.cssfixedsupport) //if control is positioned using JavaScript
            this.$control.css({opacity:0}) //hide control immediately after clicking it
        var dest=isNaN(this.setting.scrollto)? this.setting.scrollto : parseInt(this.setting.scrollto)
        if (typeof dest=="string" && jQuery('#'+dest).length==1) //check element set by string exists
            dest=jQuery('#'+dest).offset().top
        else
            dest=0
        this.$body.animate({scrollTop: dest}, this.setting.scrollduration);
    },
    keepfixed:function(){
        var $window=jQuery(window)
        var controlx=$window.scrollLeft() + $window.width() - this.$control.width() - this.controlattrs.offsetx
        var controly=$window.scrollTop() + $window.height() - this.$control.height() - this.controlattrs.offsety
        this.$control.css({left:controlx+'px', top:controly+'px'})
    },
    togglecontrol:function(){
        var scrolltop=jQuery(window).scrollTop()
        if (!this.cssfixedsupport)
            this.keepfixed()
        this.state.shouldvisible=(scrolltop>=this.setting.startline)? true : false
        if (this.state.shouldvisible && !this.state.isvisible){
            this.$control.stop().animate({opacity:1}, this.setting.fadeduration[0])
            this.state.isvisible=true
        }
        else if (this.state.shouldvisible==false && this.state.isvisible){
            this.$control.stop().animate({opacity:0}, this.setting.fadeduration[1])
            this.state.isvisible=false
        }
    },
    init:function(){
        jQuery(document).ready(function($){
            var mainobj=scrolltotop
            var iebrws=document.all
            mainobj.cssfixedsupport=!iebrws || iebrws && document.compatMode=="CSS1Compat" && window.XMLHttpRequest //not IE or IE7+ browsers in standards mode
            mainobj.$body=(window.opera)? (document.compatMode=="CSS1Compat"? $('html') : $('body')) : $('html,body')
            mainobj.$control=$('<div id="topcontrol">'+mainobj.controlHTML+'</div>')
                .css({position:mainobj.cssfixedsupport? 'fixed' : 'absolute', bottom:mainobj.controlattrs.offsety, right:mainobj.controlattrs.offsetx, opacity:0, cursor:'pointer'})
                .attr({title:'Scroll Back to Top'})
                .click(function(){mainobj.scrollup(); return false})
                .appendTo('body')
            if (document.all && !window.XMLHttpRequest && mainobj.$control.text()!='') //loose check for IE6 and below, plus whether control contains any text
                mainobj.$control.css({width:mainobj.$control.width()}) //IE6- seems to require an explicit width on a DIV containing text
            mainobj.togglecontrol()
            $('a[href="' + mainobj.anchorkeyword +'"]').click(function(){
                mainobj.scrollup()
                return false
            })
            $(window).bind('scroll resize', function(e){
                mainobj.togglecontrol()
            })
        })
    }
}
scrolltotop.init()
</script>
Replace: IMAGE LINK with your ‘back to top’ buttons image link. See our collection of scroll to top buttons
Now save the widget and drag the widget to the bottom most position in the layout.

That’s it done! Now take a look at your blog to see the back to top button working smoothly. The widget only appears as one scrolls down the page and it’ll automatically disappear as one scrolls up. Nice yeah! Hope that was made easy. thank you.Open-mouthed smile

110+ Best ‘Scroll to Top’ & ‘Back to Bottom’ Buttons

- Thursday, 26 December 2013 No Comments
scroll to top or bottom buttons for blogHere is an amazing and beautiful collection of back to top and back to bottom buttons for your blog. This list consist of 100+ unique buttons that’s is cute, elegant, modern and as well as funny. This images can be used to easily replace your back to top or bottom text. Thus increasing navigability in you blog. Your readers will surely love these buttons.
And wonder how to add any of these buttons to your blog. Don’t hesitate, my next blog post will be surely based on that.
See how to add scroll to top/bottom to your blog



Download Scroll to TOP & BOTTOM Buttons Collection

The collection includes 114 PNG static images. Downloading this unique collection of back to top or bottom buttons is simple and easy. You just need to subscribe to our newsletter and leave the email id in the comments box. Or SHARE IT TO UNLOCK THIS CONTENT


Add a Widget Inside a Scroll Box/Bar

- Tuesday, 24 December 2013 No Comments
put a widget inside a sroll barDoes tall widgets take out your blog’s valuable space and keep checking your readers’ patience ? Here is a simple trick to put your tall widgets inside a scroll bar. In this simple tutorial I'll show you how to add a widget (any widget) inside a scroll bar. You can easily adjust the height of the scroll box and the title of the widget will remain static as normal. Only the content of the widget will be inside the scroll box.

How to Put a Widget Inside a scroll box

  • Firstly, Find the Widget ID of the widget you want to put inside the scroll box
  • Now navigate to Blogger Dashboard > Template > Edit HTML
  • Search for ]]></b:skin>
  • Paste the below code just above ]]></b:skin> and save the template
/* Scroll box by Bloggslab.com START */
#YourWidgetId .widget-content {
height: 200px;
overflow: auto;
}
/* Scroll box END */
NOTE :


  • Replace YourWidgetId with the widget ID you found in first step.
  • Adjust the height of the scroll box by changing the value 200px

  • That was so simple adding a widget inside a scroll box. Hope you added the widget inside a scroll bar easily without any troubles. take care!Laughing out loud

    Simplest Way to Create a Tabbed Content Widget

    - Friday, 20 December 2013 No Comments
    how to create a multi tabbed widget in bloggerWe all need to fill our sidebar with lots of reader attractive widgets. But the space doesn’t always let us to do so. Also we have to limit the number of widgets in the sidebar to make our blog attractive and user friendly. But we’ve to make use of the available space efficiently and effectively. Multi Tabbed Widgets are something that lets us achieve it. We can add any number of widgets into these tabs.
    Adding a tabbed widget in normal way is a little tricky. We need to edit our blogger template and css codes and all to it. If the code isn’t at right place it won’t work. But what i am going to share today is the simplest and easiest way to add a multi tabbed widget to your blog’s sidebar.
    Let’s see how we can add a tabbed widget to your sidebar in the simplest way.

    Creating Multi Tabbed Widget in Blogger

    • Go to Blogger Dashboard > Layout and click on Add a widget.
    • Now select HTML/JavaScript widget. NOTE : Leave the title blank
    • Copy the below code and paste it into the widget and save it.
    <style type="text/css">
    .tabber {
    padding: 0px !important;
    border: 0 solid #bbb !important;
    }
    .tabber h2 {
    float: left;
    margin: 0 1px 0 0;
    font-size: 12px;
    padding: 3px 5px;
    border: 1px solid #bbb;
    margin-bottom: -1px; /*--Pull tab down 1px--*/
    overflow: hidden;
    position: relative;
    background: #e0e0e0;
    cursor:pointer;
    }
    html .tabber h2.active {
    background: #fff; border-bottom: 1px solid #fff; /*--"Connect" active tab to its content--*/
    }
    .tabber .widget-content {
    border: 1px solid #bbb;
    padding: 10px;
     background: #fff; clear:both;
    margin:0;
    }
    .codewidget, #codeholder {
    display:none;
    }
    </style>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js"></script>
    <script type="text/javascript" src="https://dl.dropboxusercontent.com/s/b7ly5e0idltxpnz/tabbed-widget-bloggslab.js"></script>
    <script type="text/javascript">
    $(document).ready(function() {
    $('#codeholder').bloggerTabber ({
      tabCount : 3 });
    });
    </script>
    <!-- to make sure the widget works, do not alter the code below -->
    <div id='codeholder'><p>Get this <a href="http://www.bloggslab.com/" target="_blank">tabbed widget</a></p></div>
    Now place the widgets you want to add into the tabs below the HTML/JavaScript widget. Or place the HTML/JavaScript widget above the widgets you want to tabify.Snap_2013.12.17_16h44m12s_006_
    That’s it. You’ve easily created a tabbed contents widgets without altering your template codes. Simple and efficient. Keep sharing. Red heart

    Find Widget ID & Section ID of a Widget in Blogger

    - Monday, 16 December 2013 No Comments
    find widget id and section id of any widget
    You might come in need of your widget’s id when you are redesigning your blog’s template. But blogger doesn’t tell us anything about the widget’s section id and widget id while creating it. We’ve to find it manually searching in your blog template. But that’s a little tricky.
    No worries! I’ve found out a more easier way find out your blog ID and section & widget ID of widgets. Just follow the below steps in the tutorial and find out how to find yours.

    How to Find Widget ID, Section ID and Blog ID

    • Go to Blogger Dashboard > Layout
    Snap_2013.11.28_15h18m02s_001_
    • Now locate the widget and click Edit. A window will popup. (I've chosen Popular Post Widget for the tutorial)
    Snap_2013.12.15_15h20m02s_002_
    Now in the popup window to edit the widget, we can see a url. The widget ID and Section ID we’re looking for is in this url. Snap_2013.12.15_15h27m12s_006_
    So let’s see where the widget and section id is. Below you can see the URL of my Popular Posts Widget.
    Snap_2013.12.15_15h25m44s_005_

    In my url, hope you can clearly see
    • sectionId=sidebar so the widget’s section ID is sidebar
    • widgetId=PopularPosts1 and the widget ID is PopularPosts1
    and additionally you can see 
    • blogID=12345678910111213, so your blog id is 12345678910111213
    So we saw how i found out the widget id and section id of my popular posts widget.Similarly you can find the id of your widgets too. Hope that was helpful for you.Who me?

    Adding Stylish Threaded Comments System to Blogger

    - Saturday, 14 December 2013 No Comments
    spiceupyoublog-like-comment-systemBlogger introduced threaded comment system an year back, from then we have see many great bloggers introducing their own stylish threaded comments system for their site. One of my favourite among many is Spice Up Your Blog’s. They have a simple colourful threaded comment system that easily help distinguish author comments from reader comments.
    And today i am going to teach you how to implement SpiceupyouBlog’s beautiful comment system in your blog. You can yourself see a demo here to see how it works.
      SEE DEMO 


    SPICE UP YOUR BLOG LIKE COMMENT SYSTEM FOR BLOGGER


  • Firstly, navigate to Blogger Dashboard > Template > CustomizeSnap_2013.12.10_14h04m37s_003_
  • Now in the (new) Blogger Template Designer > Advanced > Add CSSSnap_2013.12.10_14h06m43s_004_
  • Paste the below code into the Add CSS section and click Apply to BlogSnap_2013.12.10_14h09m43s_005_
  • @font-face { font-family: 'Philosopher'; font-style: normal; font-weight: 400; src: local('Philosopher'), url(http://themes.googleusercontent.com/static/fonts/philosopher/v4/OttjxgcoEsufOGSINYBGLYbN6UDyHWBl620a-IRfuBk.woff) format('woff'); } .comment .avatar-image-container { border: 1px solid #B6B6B6; max-height: 70px !important; margin-top: -5px; width: 70px !important; position: relative; z-index: 50; } .comment .comment-block { margin-left: 75px !important; } .comment .comment-header { background: none repeat scroll 0 0 #A9F5D0; color: #333; font-size: 15px; font-weight: bold; margin-left: 60px; } .comment .comment-header a { color: white !important; text-decoration: none; } .comment .comment-content { background: none repeat scroll 0 0 #FEFFF9; border-bottom: 2px solid #E6E6E6; font-size: 14px; margin: 0 0 30px; padding: 5px 5px 10px 10px; } .comment .comment-actions a { background: none repeat scroll 0 0 #DDD; color: #333; display: inline-block; line-height: 1; margin: 0 3px; padding: 3px 6px !important; text-decoration: none; } .comment .comment-actions a { background: none repeat scroll 0 0 #DDD; color: #333; display: inline-block; line-height: 1; margin: 0 3px; padding: 3px 6px !important; text-decoration: none; } .comment-header cite { background: none repeat scroll 0 0 #DF7401; border: 1px solid white; color: white; padding: 2px 20px; position: relative; z-index: 99; margin-left: -20px; } cite.blog-author { background: none repeat scroll 0 0 #8181F7 !important; } .icon.blog-author { display: none !important; background: url("") no-repeat scroll 0 0; margin-left: 90px; width: 60px !important; height: 60px !important; position: absolute; right: 5px; bottom: 5px; top: 10px; } .comment .comment-header { color: #333; font-size: 15px; font-weight: bold; } .comment .avatar-image-container img { border: medium none !important; height: 70px !important; width: 70px !important; max-height: 70px !important; max-width: 70px !important; } .comment .comment-actions a { background: none repeat scroll 0 0 #DDD !important; color: #333 !important; display: inline-block !important; line-height: 1 !important; margin: 0 3px !important; padding: 3px 6px !important; text-decoration: none !important; font-size:16px; } .comment .comment-actions a:hover { background: #CCC !important; text-decoration: none !important; } .comments { font-family: 'Philosopher', arial, serif !important; font-size: 1em; color: black; } .comments .continue a { display: block !important; font-weight: bold !important; padding: .5em !important; color:#E34600; font-size:16px; } .comments .continue a:hover {color:#4D3123;text-decoration:none;} .item-control { display: none !important; } .comments .continue { border-top: 2px solid transparent !important; } .comments .comments-content .icon.blog-author{position:absolute;top:-1px;right:-12px;background-image:url(http://cdn2.iconfinder.com/data/icons/crystalproject/16x16/apps/keditbookmarks.png);width:36px;height:36px;margin:0}

  • That’s it. Simple. You’ve now made your comment system extremely beautiful through simple steps. Your old comments system is now replaced by the new stylish comments system. Now visit your blog to see whether it’s working perfectly. If it isn’t leave back a comment.Take care Winking smile
  • Adding Table of Contents Page to Blogger – Simple and Clean !

    - Thursday, 12 December 2013 No Comments
    how to create table of contents page in bloggerTable of contents page gives your users an easy way to navigate to through your posts. It also helps search bots to better index your pages. But adding one in blogger is not that easy. Some used to create a page with the name ‘sitemap’ and manually added their posts links to it. It is difficult because you’ve update the page manually each time you post something new.

    But that is past. Now we can easily create a toc page that automatically updates each time you add a new post in blogger. See my table of contents page to check the demo. You can see the post arranged according to labels making it easily navigable. And plus this widget also tells the users which post is new and which old. So let’s create a page for you too.

    Creating a Table of Contents Page

    • Navigate to Blogger Dashboard > Pages > New page > Blank PageSnap_2013.12.09_10h37m35s_002_
    • Firstly name the page like “Sitemap” or  “ Table of Contents” or “ TOC of XYZ”
    • Now switch to HTML mode and paste the below code into it.
    <!--Table of contents by BloggsLab Start -->
    <script src="https://dl.dropboxusercontent.com/s/l9u1upbt1uqyxvr/table%20of%20contents.js">
    </script>
    <script src="http://www.bloggslab.com/feeds/posts/summary?alt=json-in-script&max-results=1000&callback=loadtoc" type="text/javascript">
    </script>
    <!--Table of contents by BloggsLab End –>
    Replace www.bloggslab.com with you site url.
    HTML Mode in blogger post editor
    • Now Publish the page. Done.
    Now you just created a simple and clean table of contents page for you blog. Hope it was helpful and all went perfectly. I’ll in my upcoming posts surely share a more customized and stylish version of the table of contents page. Thanks for stopping by.Thumbs up

    Awesome Multi Coloured Random Posts Widget

    - Tuesday, 10 December 2013 No Comments
    multi colour random posts widget for bloggerHere comes another must have widget. This is a random posts widget that’s made colourful. LOL. Simply a cool widget.
    Random posts widgets helps you to get good seo by keeping visitors engaged in reading more and more posts. It’s because each time you reload a page you'll get different posts in this widget. That was a simple description of random posts. That wasn't funny. Smile with tongue out

    Now what i am sharing with you is a highly customized version of simple random posts widget. A more attractive random posts widget, that’ll surely double your page views. Believe me if you’ve good content. This one has flat ui colouring and has auto post numbering too. So this is one hell of a widget.

    Adding Multi Colour Random Post Widget

    • Navigate to Blogger Dashboard > Layout
    • Now click on Add a gadget > HTML/JavaScript
    • Copy the below code into it and save the widget.
    <style type="text/css">
    .noop-random-posts ul li {
        list-style-image:none;
    }.noop-random-posts ul {
    list-style-type: none;
    margin: 0;
    padding: 5px 0;
    }
    .noop-random-posts ul li {
    border: 0 none;
    margin: 5px 0;
    padding: 10px;
    position: relative;
    }
    .noop-random-posts ul li:first-child {
    background: none repeat scroll 0 0 #FF4C54;
    width: 97%;
    }
    .noop-random-posts ul li:first-child:after {
    content: "1";
    }
    .noop-random-posts ul li:first-child + li {
    background: none repeat scroll 0 0 #FF764C;
    width: 87%;
    }
    .noop-random-posts ul li:first-child + li:after {
    content: "2";
    }
    .noop-random-posts ul li:first-child + li + li {
    background: none repeat scroll 0 0 #FFDE4C;
    width: 84%;
    }
    .noop-random-posts ul li:first-child + li + li:after {
    content: "3";
    }
    .noop-random-posts ul li:first-child + li + li + li {
    background: none repeat scroll 0 0 #C7F25F;
    width: 81%;
    }
    .noop-random-posts ul li:first-child + li + li + li:after {
    content: "4";
    }
    .noop-random-posts ul li:first-child + li + li + li + li {
    background: none repeat scroll 0 0 #33C9F7;
    width: 78%;
    }
    .noop-random-posts ul li:first-child + li + li + li + li:after {
    content: "5";
    }
    .noop-random-posts ul li:first-child + li + li + li + li + li {
    background: none repeat scroll 0 0 #7EE3C7;
    width: 75%;
    }
    .noop-random-posts ul li:first-child + li + li + li + li + li:after {
    content: "6";
    }
    .noop-random-posts ul li:first-child + li + li + li + li + li + li {
    background: none repeat scroll 0 0 #F6993D;
    width: 72%;
    }
    .noop-random-posts ul li:first-child + li + li + li + li + li + li:after {
    content: "7";
    }
    .noop-random-posts ul li:first-child + li + li + li + li + li + li + li {
    background: none repeat scroll 0 0 #F59095;
    width: 69%;
    }
    .noop-random-posts ul li:first-child + li + li + li + li + li + li + li:after {
    content: "8";
    }
    .noop-random-posts ul li:first-child + li + li + li + li + li + li + li + li {
    background: none repeat scroll 0 0 #C7F25F;
    width: 66%;
    }
    .noop-random-posts ul li:first-child + li + li + li + li + li + li + li + li:after {
    content: "9";
    }
    .noop-random-posts ul li:first-child:after, .noop-random-posts ul li:first-child + li:after, .noop-random-posts ul li:first-child + li + li:after, .noop-random-posts ul li:first-child + li + li + li:after, .noop-random-posts ul li:first-child + li + li + li + li:after, .noop-random-posts ul li:first-child + li + li + li + li + li:after, .noop-random-posts ul li:first-child + li + li + li + li + li + li:after, .noop-random-posts ul li:first-child + li + li + li + li + li + li + li:after, .noop-random-posts ul li:first-child + li + li + li + li + li + li + li + li:after {
    background: none repeat scroll 0 0 #353535;
    border-radius: 50% 50% 50% 50%;
    color: #FFFFFF;
    font-size: 25px;
    height: 30px;
    position: absolute;
    right: -17px;
    text-align: center;
    top: 1px;
    width: 30px;
    }
    .noop-random-posts ul li a {
    color: #444444;
    font-size: 13px;
    text-decoration: none;
    }
    </style>
    <div class="noop-random-posts"><script type="text/javascript">
        var randarray = new Array();var l=0;var flag;
        var numofpost=5;function nooprandomposts(json){
        var total = parseInt(json.feed.openSearch$totalResults.$t,10);
        for(i=0;i < numofpost;){flag=0;randarray.length=numofpost;l=Math.floor(Math.random()*total);for(j in randarray){if(l==randarray[j]){ flag=1;}}
        if(flag==0&&l!=0){randarray[i++]=l;}}document.write('<ul>');
        for(n in randarray){ var p=randarray[n];var entry=json.feed.entry[p-1];
        for(k=0; k < entry.link.length; k++){if(entry.link[k].rel=='alternate'){var item = "<li>" + "<a href=" + entry.link[k].href + ">" + entry.title.$t + "</a> </li>";
        document.write(item);}}
        }document.write('</ul>');}
        </script><a href="http://www.bloggslab.com" style="font-size:0pt">Blogger Widgets</a>
    <script type="text/javascript" src="/feeds/posts/default?alt=json-in-script&start-index=1&max-results=1000&callback=nooprandomposts"></script></div>
    Now check out your blog see the random posts widget working perfectly. If you have any trouble adding this widget, let me know.

    Automatic Read More With Thumbnails for Blogger

    - Sunday, 8 December 2013 No Comments
    Add Auto Read More Post Summarys with tumbnailBlogger gives us an option to add jump break to posts. It enables us to display a a short summary of the post on the homepage of our blog with a link to the full post. Most of us add jump break to our posts, because displaying a short summary instead of the full post on the main page has many advantages. The main reason is that it increases page views and the visitors can easily get a selection of your posts.

    Today I'll share with you a simple script that’ll automatically create a summary of posts and display it on your homepage without using the jump breaks. See the features of it below:
    • Short summary with a read more link to the complete post.
    • Automatically creates a thumbnail from the first image of the post.
    • You can change the number of characters in the summary
    • You can adjust the thumbnail size.
    • Will work on you old posts too.

    Adding Automatic Read More to your Blog

    • Navigate to Blogger > TemplateSnap_2013.11.16_10h43m57s_001_
    • Now in the Template editor search for </head>
    • Copy the below code and paste just above or before </head>
    <script type='text/javascript'>
    var thumbnail_mode = "no-float" ;
    summary_noimg = 430;
    summary_img = 340;
    img_thumb_height = 120;
    img_thumb_width = 120;
    </script>
    <script type='text/javascript' src='https://dl.dropboxusercontent.com/s/yao8g2f0ue0z0tk/bloggslab-auto-readmore-for-blogger.js' ></script>


    NOTE:
    • summary_ noimg= 430; – No. of characters in the post summary if no thumbnail image is available.
    • summary_img = 340;  - No. of characters in the post summary if there is an image in the post that’s to be used as the thumbnail.
    • null_thumb_height = 120; – Thumbnail height in pixels.
    • null_thumb_width = 120; – Thumbnail width in pixels.
    NOTE 2: If the post has no image only the post summary would be displayed.

    • Now search for <data:post.body/>
    • Replace <data:post.body/> with the below code
    <b:if cond='data:blog.pageType == &quot;item&quot;'>
    <data:post.body/>
    <b:else/>
    <b:if cond='data:blog.pageType == &quot;static_page&quot;'>
    <data:post.body/>
    <b:else/>
    <div expr:id='&quot;summary&quot; + data:post.id'>
    <data:post.body/>
    </div>
    <script type='text/javascript'>
    createSummaryAndThumb(&quot;summary<data:post.id/>&quot;);
    </script>
    <div style='clear: both;'/>
    <span class='rmlink' style='font-weight:bold;padding:5px;float:right;text-align:right;'><a expr:href='data:post.url' >Read more ... </a></span>
    </b:if>
    </b:if>
    NOTE: You can change Read more ...  with any text you’d like. For example you can use ‘Continue Reading; or ‘Read full Post".
    That’s it. Now save the template.

    About The Author

    - Saturday, 7 December 2013 No Comments
    about the author
    Hi everyone,
    This is Sarath, i am a student from Kerala, India and a part time blogger.
    At BloggsLab, I'll be blogging on blogging. Yeah, I'll share with you some basic, best and latest blogging tips and tricks. I'll help you to customize your blogs to the best by writing on tweaking templates and sharing with you some interesting and beautiful widgets, templates and plugins. I'll also be blogging on making your blog/site seo friendly and the best out here.
    I am not the best out here, so do not expect much from me. I'll try to share things with you with the best of me. Take care.
    Contact me on: Google+ | Facebook.com | Twitter.com

    Horizontally Floating Social Sharing Bar for Blogger Blogs

    - Monday, 2 December 2013 No Comments
    horizonatal social share buttons widgetYet another social sharing widget for blogger blogs. But this one has a difference, this one floats horizontally. In my previous post I shared a floating social bar which floats on your side bar vertically. But this one is more modern and attractive than the previously shared one. This horizontally floating widget will automatically come up when the reader scrolls down the page.


    This horizontal sharing widget is very lightweight and have Facebook, Twitter, Google+ and LinkedIn sharing widgets.
    You can easily add this wonderful widget to your blog by following the simple steps given below.

    Adding Horizontal Social Share Buttons Widget

    • Firstly navigate to Blogger Dashboard > Template > Edit HTML
    • Now Search for <data:post.body/> and paste the following code just below/after it.
    <b:if cond='data:blog.pageType == &quot;item&quot;'>
    <div id='md-active-share-comment-marker'/>
    </b:if>
    • Now search for </body> and paste the following code just before it
    <b:if cond='data:blog.pageType == &quot;item&quot;'>
        <script src='https://dl.dropboxusercontent.com/u/76401970/All%20Blogger%20Tricks/abt-floating-share.js' type='text/javascript'/>
        <div id='md-share-window' style='width: 100%; display: block; position: fixed; bottom: -450px; left: 0px; background-color: rgba(128, 128, 128, 0.6); z-index: 100; padding: 0 0 10px 0;'>
        <div style='width: 800px; margin: 20px auto;'> <a class='boxclose' id='boxclose'/>
    <style>
    @import url(http://fonts.googleapis.com/css?family=Open+Sans:400);
    @import &quot;//netdna.bootstrapcdn.com/font-awesome/3.0/css/font-awesome.css&quot;;
    #share-buttons{border-radius:5px;background:#FFF;width:660px;overflow:hidden;margin-left:60px;box-shadow:0 2px 3px rgba(71,71,71,0.31);padding:14px 7px}.share-button{background:#DCE0E0!important;position:relative;display:block;float:left;height:40px;overflow:hidden;width:150px;border-radius:3px;-o-border-radius:3px;-ms-border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;margin:0 7px}.icon{display:block;float:left;position:relative;z-index:3;height:100%;vertical-align:top;width:38px;-moz-border-radius-topleft:3px;-moz-border-radius-topright:0;-moz-border-radius-bottomright:0;-moz-border-radius-bottomleft:3px;-webkit-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;text-align:center}.icon i{color:#fff;line-height:42px}.slide{z-index:2;display:block;height:100%;left:38px;position:absolute;width:112px;-moz-border-radius-topleft:0;-moz-border-radius-topright:3px;-moz-border-radius-bottomright:3px;-moz-border-radius-bottomleft:0;-webkit-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;margin:0}.slide p{font-family:Open Sans;font-weight:400;border-left:1px solid rgba(255,255,255,0.35);color:#fff;font-size:16px;left:0;position:absolute;text-align:center;top:10px;width:100%;margin:0}.share-button .slide{-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-ms-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.facebook iframe{display:block;position:absolute;right:16px;top:10px;z-index:1}.twitter iframe{width:90px!important;right:5px;top:10px;z-index:1;display:block;position:absolute}.google #___plusone_0{width:70px!important;top:10px;right:15px;position:absolute;display:block;z-index:1}.linkedin .IN-widget{top:10px;right:22px;position:absolute;display:block;z-index:1}.facebook:hover .slide{left:150px}.twitter:hover .slide{top:-40px}.google:hover .slide{bottom:-40px}.linkedin:hover .slide{left:-150px}.facebook .icon,.facebook .slide{background:#305c99}.twitter .icon,.twitter .slide{background:#00cdff}.google .icon,.google .slide{background:#d24228}.linkedin .icon,.linkedin .slide{background:#007bb6}</style>
    <div id='share-buttons'> <div class='facebook share-button'> <i class='icon'> <i class='icon-facebook'> </i> </i> <div class='slide'> <p> facebook </p> </div> <iframe allowTransparency='true' frameborder='0' scrolling='no' src='//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2FBloggsLab&amp;send=false&amp;layout=button_count&amp;width=80&amp;show_faces=false&amp;font&amp;colorscheme=light&amp;action=like&amp;height=20&amp;appId=568581339861351' style='border:none; overflow:hidden; width:80px; height:20px;'> </iframe> </div> <div class='twitter share-button'> <i class='icon'> <i class='icon-twitter'> </i> </i> <div class='slide'> <p> twitter </p> </div> <a class='twitter-share-button' data-via='sarathraju360' href='https://twitter.com/share'> Tweet </a><script>
        !function(d,s,id){
          var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?&#39;http&#39;:&#39;https&#39;;
          if(!d.getElementById(id)){
            js=d.createElement(s);
            js.id=id;
            js.src=p+&#39;://platform.twitter.com/widgets.js&#39;;fjs.parentNode.insertBefore(js,fjs);}}(document, &#39;script&#39;, &#39;twitter-wjs&#39;);
    </script>
      </div> <div class='google share-button'> <i class='icon'> <i class='icon-google-plus'> </i> </i> <div class='slide'> <p> google+ </p> </div> <div class='g-plusone' data-size='medium'> </div><script type='text/javascript'>
        (function() {
          var po = document.createElement(&#39;script&#39;);
          po.type = &#39;text/javascript&#39;;
          po.async = true;
          po.src = &#39;https://apis.google.com/js/plusone.js&#39;;
          var s = document.getElementsByTagName(&#39;script&#39;)[0];
          s.parentNode.insertBefore(po, s);
        }
        )();
    </script>
    </div> <div class='linkedin share-button'> <i class='icon'> <i class='icon-linkedin'> </i> </i> <div class='slide'> <p> linkedin </p> </div> <script data-counter='right' type='IN/Share'> </script> <script src='//platform.linkedin.com/in.js' type='text/javascript'> lang: en_US </script> </div></div><div style='display:block; margin: 0 200px; padding: 5px 0px 0px;font-family: Oswald; font-weight: 700;color: #000'> Don&#39;t You Think this Awesome Post should be shared ??<br/> <span style='color: #000; font-size: 18px;'>| <data:blog.pageName/> |</span> </div> </div> </div> </b:if>
    <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js' type='text/javascript'/>
    NOTE: Replace BloggsLab with you Facebook page id.
    • Now save the template. Done.
    That’s it. You have successfully added the horizontal floating social share widget to your blog. Now take a look at your blog to check whether it’s working perfectly or not. Hopefully it’ll work, but in any case if it isn't let me know. Thanks and take care.Nerd smile

    Creating Floating Social Sharing Widget for Blogger

    - Sunday, 1 December 2013 No Comments
    adding-awesome-floating-social-media-buttonsFloating social sharing buttons bar is one of the favourite widgets of every blogger. It’s because of it’s ability to make readers share the posts to social media's right from where they are reading. It’s a must have widget and can improve the presence of your site in social media's like Facebook, twitter etc..
    Today we’ll see how to add this awesome widget to your blog in simple steps. If you need a demo simple look at my sidebar.



    Adding Social Sharing Bar to Blogger

    • First, Navigate to Blogger Dashboard > TemplateSnap_2013.11.16_10h43m57s_001_
    • Now, take a backup of your template (see how to backup your blogger template)
    • Click on Edit HTML
    • Now search for below code (use CTRL+F to search)
    <b:includable id='post' var='post'>
    • And just below it paste the below code
    <b:if cond='data:blog.pageType == &quot;item&quot;'>
    <b:if cond='data:blog.pageType != &quot;static_page&quot;'>
    <style>
    .bloggslab_social_floating{
        position:fixed; bottom:10%; margin-left:-90px; float:left;     width:65px;
        background-color:#FFFFFF;
         padding: 5px 0 0px 0px;
         border-top:1px solid #ddd;
    border-left:1px solid #ddd;
    border-bottom:1px solid #ddd;
    z-index:9999px !important;
    border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;
    }
    .bloggslab_social_floating .bloggslab_side_social_button{
        margin-bottom:5px;
        float:none;
        height:auto;
        width:60px;
    }
    .bloggslab_social_floating .st_twitter_vcount, .bloggslab_social_floating.st_plusone_vcount, .st_email{
        margin-left:5px;
    }
    .bloggslab_social_floating .st_fblike_vcount{
        margin-left:5px;
    }
    .bloggslab_social_floating .stButton_gradient{
        background:none !important;
        height:21px !important;
        padding-left:0 !important;
    }
    .bloggslab_social_floating .chicklets, .bloggslab_social_floating .stMainServices {
        background:url(&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlujleCV375xVaRo-wvZb4wVFRzcnvpi8F0EqdwG6hUZIA5uROzKs220sHZ4fOS1lShkaz-XggZ_U7HEYKaaP-fpJ0M9QIxXPgH8EJBKr1Znj-D9Ao39fCFC2agjv5NYfW4vVInJQ4eBsP/s400/gc_social_sprite.gif&#39;) no-repeat !important;
        height:19px !important;
        width:45px !important;
        padding:0 !important;
    }
    .st_email .chicklets{
        background-position:0 -77px !important;
        background-image:url(&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlujleCV375xVaRo-wvZb4wVFRzcnvpi8F0EqdwG6hUZIA5uROzKs220sHZ4fOS1lShkaz-XggZ_U7HEYKaaP-fpJ0M9QIxXPgH8EJBKr1Znj-D9Ao39fCFC2agjv5NYfW4vVInJQ4eBsP/s400/gc_social_sprite.gif&#39;) !important;
    }
    .bloggslab_social_floating .st_twitter_vcount .st-twitter-counter{
        background-position:0 -58px !important;
    }
    .bloggslab_social_floating  .stButton_gradient{
        border:none !important;
    }
    .bloggslab_social_floating .stBubble_count{
        width:44px !important;
        font-size: 15px !important;
        font-weight: normal !important;
        padding-top:7px !important;
        height:23px !important;
        background:none !important;
    }
    .bloggslab_social_floating .st_twitter_vcount .stBubble_count{
        color:#00a6df;
        background-color:#f8fbfc !important;
    }
    .st_fblike_vcount{
        margin-bottom: 0px;
        display: block;
    }
    .st_twitter_vcount{
        margin-bottom: 3px;
        display: block;
    }
    .st_email{
        margin-bottom: 5px; margin-top: 3px;
        display: block;
    }
    .bloggslab_social_floating .stBubble{
        background-position: 21px 31px !important;
        height:35px !important;
    }.bloggslab_social_floating .st_pinterest_vcount{
        margin-left:5px;
    }
    .bloggslab_social_floating .st_pinterest_vcount .st-pinterest-counter{
        background-position:0 -19px !important;
    }
    .bloggslab_social_floating .st_pinterest_vcount .stBubble_count{
        color:#FF0505;
        background-color:#fbf8f8 !important;
    }
    .bloggslab_social_floating .st_pinterest_vcount .stBubble{
        background-image:url(&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWJ-sPe6-spp_pY_yCkp0VJs2w39N6fDd0kYv4K_8YQYlkDE1omR54J6pCuuNKzZXRk0skOJgGO3v56hI-yVAEmgFu6nfoTsqEMis-4xPM474GCi_gty2KqRcQyGSVkipavf6XvSqgPqIM/s400/bubble_arrow_pinterest.png&#39;) !important;
    }

    .st_pinterest_vcount{
        margin-bottom: 0px;
        display: block;
    }
    </style>
    <div class='bloggslab_social_floating'>
        <script type='text/javascript'>var switchTo5x=true;</script>
        <script src='http://w.sharethis.com/button/buttons.js' type='text/javascript'/>
        <script type='text/javascript'>stLight.options({onhover:false, , doNotHash: true, doNotCopy: true, hashAddressBar: false});</script>
        <!-- No more works properly so removing it from bloggslab list<span class='st_fblike_vcount' displaytext=''/>-->
    <div style='margin:0px 0 0px 10px;'><div id='fb-root'/><script src='http://connect.facebook.net/en_US/all.js#xfbml=1'/><fb:like font='' href='' layout='box_count' send='false' show_faces='false'/></div>
        <span class='st_twitter_vcount' displaytext='' st_via='sarathraju360'/>
    <span class='st_pinterest_vcount' displaytext=''/>
    <div style='margin:0px 0 0 5px;'>
        <span class='st_plusone_vcount' displaytext=''/>
    </div>
       
    <div class='addthis_toolbox addthis_default_style ' style='margin:5px 0px 5px 8px;'>
    <a class='addthis_counter'/>
    </div>
    <script src='http://s7.addthis.com/js/250/addthis_widget.js' type='text/javascript'/>
    <script type='text/javascript'>
    var addthis_config = {
         ui_cobrand: &quot;BLOGGS LAB&quot;,
    ui_header_color: &quot;#ffffff&quot;,
         ui_header_background: &quot;#0080FF&quot;
    }
    </script>
    <span class='st_email' displaytext=''/>
    <p style=' line-height:0px; font-size:10px; font-weight:bold; text-align:center;'><a href='http://www.bloggslab.com/2013/11/sidebar-floating-social-share-buttons-with-counter.html' style='color:#CAC8C8;'>Widget</a></p>
    </div>
    </b:if></b:if>
    NOTE: Replace sarathraju360 with your twitter username.
    • Now simply save the template. You’re done.



    TROUBLESHOOTING

    If you face any problem with the Facebook like button, then add the below code below <body>
    <div id="fb-root"></div>
    <script>(function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); js.id = id;
      js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>



    CUSTOMIZATING THE FLOATING BAR

    This widget was originally created by Mohammad Mustafa Ahmedzai (My Blogger Tricks) and i am just sharing it with you with some simple customisations. In fact you can also do customize it to match your blogger template. To do that simply change the values of bolded lines in the code.
    If you need any help, feel free to leave comments. And if you like this widget, please take your time to share this post with your friends.Flirt male