Add Smooth Scroll to Top Button with Jquery to Blogger / Blogspot
How to Add Smooth Scroll to Top button with Jquery plugin, I already given a Scroll to Top widget with Jquery and CSS. here i am giving another type of Smooth scroll to Top Widget with Jquery.
What is Difference Between Previous and Present Plugins?
In previous Plugin, the Scrolling Starts from bottom with a Certain speed and Maintains Same speed till to reach top of web page
But in this plugin the Scrolling Starts from bottom with a Certain speed and it Ends with Gradually Decreases the speed. this effect is looks more attractive.
Demo
How to Add Smooth Scroll to Top with Jquery ?
there are 2 Simple Steps
Step 1: Adding Jquery JavaScript Plugin
- Go to Blogger Dashboard < Design tab > Edit Html
- Search for
</head>tag - Add below line of code Before
</head>tag<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js" type="text/javascript"></script>
Step 2: Adding Scroll to Top Script
- Go to Blogger Dashboard < Design tab > Edit Html
- Search for
</head>tag - Add below section of code Before
</head>tag and Save your Template.<style type="text/css"> #w2btoTop {display:none;text-decoration:none;position:fixed;bottom:10px;right:10px;overflow:hidden;width:51px;height:51px;border:none;text-indent:-999px;background:url(http://2.bp.blogspot.com/-oVa1ImctF7c/Tdouv3K7NyI/AAAAAAAAA38/xT4bu8uKM3M/way2blogging.org.ui.totop.png) no-repeat left top;} #w2btoTopHover {background:url(http://2.bp.blogspot.com/-oVa1ImctF7c/Tdouv3K7NyI/AAAAAAAAA38/xT4bu8uKM3M/way2blogging.org.ui.totop.png) no-repeat left -51px;width:51px;height:51px;display:block;overflow:hidden;float:left;opacity: 0;-moz-opacity: 0;filter:alpha(opacity=0);} #w2btoTop:active, #w2btoTop:focus {outline:none;} </style> <script src="http://widgets.way2blogging.org/blogger-widgets/w2b-jquery.ui.totop.js" type="text/javascript"></script> <script type="text/javascript"> /*<![CDATA[*/ ;(function($){$().UItoTop({easingType:'easeOutCirc'});})(jQuery); /*]]>*/ </script>
You Are Successfully Done!
Leave your Comments and Responses about this Widget!

I tried several times but it does not work, you can help please?
Your blog does not have jQuery plugin. so add the jQuery plugin first and try to add the widget code.
how do I install the plugin?
It is on Step 1:. if you already has a jQuery plugin, then IGNORE it.
wow…very nice and helpful
This is awesome! Very easy, VERY clean solution.
Really smooth scroll, like it, thanks!
adding this disables my slider please help
i like it so much but when i try to put it on my blogger it disables my image slider here is the url www.desimoron.in please help
I like it, smooth scroll, thank you
I use this one in my blog and thats really gratfull.Thanks author…
hi Harish..
There is a wrong in my page after i add this code..normally i should see it after i scroll down but it works to revers..first i can see it after i scroll down it disappears..
and one more mistake: it doesnt look like this..
page:onlinebjk.blogspot.com
mail:mustafa.becanim@gmail.com
It is Working fine!?
It doesnt work 4 me, I have jquery, and did exactly as u say. can it b because of jquery conflict?
Find the correct version of this article here
http://www.spiceupyourblog.com/2011/07/jquery-scroll-to-top-button-smooth.html
very will tutorial, thank you, i use this in my blog http://gfxshare.info
Thank you, how do I do it if I want to replace the button with one that I have made myself?
Thank! is soo good!
How about this ..?
After inserting the html code into my blog and failed
Its error message :
//Edit the contents of your template. Learn more
We were unable to save your template
Please correct the error below and submit your template again.
More than one widget was found with id: HTML5. Widget IDs should be unique.//
That means you already have a HTML widget with the same ID(HTML5)
So try to add it in another New HTML/javascript widget
lurve it much !
not good help me mr.Harish or ms.Harish
help me please
I have try this step on my blog. Thank so much for this information….
Interesting, when I put the code before the , it didn’t work, but before the . Thanks for this code.
woow! i’m in love with this site and its’s contnts…keep the good wrk.
It doen’t show up for me Please Help me
Wanted Back to top button like Pinterest. It does not load any image but is done with text.
yes, i like it
@harish installed but image slider stopped working! Please help me out..
don’t add jQuery plugin in this widget
To gówno nie dziaÅa !
may be your blog already have jQuery plugin.
ya!its cool!!{xploreweb.tk}
Other than home page these show at bottom and worked like ‘smooth top scroll’, why it is like this and how I can over come this problem…?
Not working on my website!
it’s working.!
Hello Harish,
Nice script, but you’ve have a bug there while calling the UItoTop,
it should be
$(function(){$().UItoTop({easingType:’easeOutCirc’});})(jQuery);
I am using another shorthand method. both works fine. but the above given code will do not make any conflicts with other libraries.
Hey Harish,
Unfortunately it’s not working. Please check my blog and tell me what is wrong. Thank you!!!
Cheers,
CricketNNS
Thanks so much !!
I have many difficulte to find a code fonctional for my template.
And your are the right code; thanks againe !!
Reguards;
C.Paterson
Nice and simple. Worked fine for me ty
Its working, keep posting, i have one question can we change the image of the icon
I tried several times but it does not work, you can help please?
thanx a lot dude……its awsm (y)
Hello, me and all my friends have used this a long time now – suddenly, last week, it didn´t work anymore.
It stopped at the same time for us all!
Anything we can do to solv this?
Please update your template with new script.
I’ve updated my template with the new code, but it still doesn’t work. What can I do to solve this?
Thanks!
I have now updated the script, but it still doesn´t work.
I have tried it with my own image, or with your image.
I´m active in a forum for Blogger (in Sweden), and it stopped some weeks ago for hundreds of users. Many of them have also tried to update the script, without success.
Have some friends in Germany, it stopped for them to.
Any ideas?
My testblogg, where I have it installed:
http://rolfstestblogg.blogspot.se/
due to limitations in public script hosting, we hosted all the scripts on our server. please update the new hosting scripts.