Friday, 25 October 2013

Widgets

jquery Stylish smooth scroll back to top widget for blogger

Posted By : Unknown | Friday, 25 October 2013 1 Comment so far
PUT YOUR PARSED ADSENSE CODE HERE
jquery Stylish smooth scroll back to top widget for blogger
jquery Stylish smooth scroll back to top widget for blogger 
This tutorial I will sow how to add a smooth jquery scroll back to top widget to your blogger blog.  You can make your blog more users friendly by using this widget, because this scroll to top widget helps your blog reader to go top of your blog with a smooth scrolling. This widget scrolling effect is looks attractive. This widget is designed without any image. To know how is this widget sees our screenshot below or you can see this widget is working on my blog footer. 


How to  add this widget to your blogger blog?

I presented this tutorial with some simple steps so, to add this widget just follow my simple instruction bellow.
  • Access www.blogger.com>> Locate your Blog >> dashboard >> Template >> Edit HTML
  • Search for </body> tag
  • Add below codes before </body> ta
<style type='text/css'>
#MBB {-moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px; width:96px;background-color: #EEEEEE;background-color:#FFD45D;filter: progid:DXImageTransform.Microsoft.gradient(startColorStr=&#39;#99EEEEEE&#39;,EndColorStr=&#39;#99EEEEEE&#39;);text-align:center;padding:5px;position:fixed;bottom:51px;right:29px;cursor:pointer;color:#111;text-decoration:none;border:1px solid #C9C9C9;}
</style>
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js' type='text/javascript'/>
<script type='text/javascript'>
$(function() {
    $.fn.scrollToTop = function() {
    $(this).hide().removeAttr(&quot;href&quot;);
    if ($(window).scrollTop() != &quot;0&quot;) {
        $(this).fadeIn(&quot;slow&quot;)
    }
    var scrollDiv = $(this);
    $(window).scroll(function() {
        if ($(window).scrollTop() == &quot;0&quot;) {
        $(scrollDiv).fadeOut(&quot;slow&quot;)
        } else {
        $(scrollDiv).fadeIn(&quot;slow&quot;)
        }
    });
    $(this).click(function() {
        $(&quot;html, body&quot;).animate({
        scrollTop: 0
        }, &quot;slow&quot;)
    })
    }
});
$(function() {
    $(&quot;#MBB&quot;).scrollToTop();
});
</script>
<a href='#' id='MBB' style='display:none;'>Scroll to Top </a>
  • Save your Template
  • You Are Successfully Done!
Now You Will See Floating Smooth scroll back to top Button In Your Blog. 
Enjoy It! and Leave your Comments and Responses with us.

Do you Like this story..?

Get Free Email Updates Daily!

Follow us!





1 comments :

  1. I admire the valuable information you offered in your article..Keep posting thumbs up.

    Infographics videos

    ReplyDelete

Your feedback is always appreciated. We will try to reply to your queries as soon as time allows.

Note:
1. To add HTML CODE in comments then please use our HTML Encoder
2. You can always Test the tutorial on our HTML Editor
3. Please do not spam Spam comments will be deleted immediately upon our review.

Regards,
Imtiaz Ahmed

  • Tips And Tricks
  • Template
  • Make Money
  • Widget
  • Sitemap
  • Back To Top