Add Go to Top Button With Jquery for Blogger / Blogspot

Add Go to Top Button with Jquery for Blogger/Blogspot

Add “Go to Top Button” with Jquery. It is a Shortcut to come to top when you are at Bottom of Page...

Add ‘Scroll to Top’ Button With Jquery:-

  1. Go To Blogger > Design > Edit HTML
  2. Back up your template
  3. Check the Expand Widget Templates box
  4. Then Use the Following code and Put it before </body> tag on your Template and Save...

<style type='text/css'>
#MFS-StoTop {-moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px; width:100px;background-color:

#EEEEEE;background-color: rgba(238, 238, 238, 0.6);filter: progid:DXImageTransform.Microsoft.gradient


align:center;padding:5px;position:fixed;bottom:10px;right:10px;cursor:pointer;color:#444;text-decoration:none;border:1px solid

<script type="text/javascript" src=" Bahadur Shah (MeGa FiLeS StOrE) Scroll To Top Jquery 1.5.1.js"></script>

<script type='text/javascript'>
$(function() {
    $.fn.scrollToTop = function() {
    if ($(window).scrollTop() != &quot;0&quot;) {
    var scrollDiv = $(this);
    $(window).scroll(function() {
        if ($(window).scrollTop() == &quot;0&quot;) {
        } else {
    $(this).click(function() {
        $(&quot;html, body&quot;).animate({
        scrollTop: 0
        }, &quot;slow&quot;)
$(function() {

<a href='#' id='MFS-StoTop' style='display:none;'>Scroll to Top </a>

You Are Done!

Thanks Take Care !!!

No comments:

Post a Comment

Previous Post Next Post Home