Recommend For You: Add Enhanced AddThis Sharing Tool To Your Blog
How to Add Scroll To Top Button To Your Blogger Blogger
- Go to Blogger Dashboard > Template > Edit HTML
- Use Ctrl + F to find this code </body>
- Copy and Paste The Below Code Above </body>
<a href="#" id="backtotop">^ Scroll to Top</a><script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js' type='text/javascript'></script><script type='text/javascript'>/*-----------------------*Scroll to top-----------------------*/$(function(){$.fn.scrollToTop=function(){$(this).hide().removeAttr("href");if($(window).scrollTop()!="0"){$(this).fadeIn("slow")}var scrollDiv=$(this);$(window).scroll(function(){if($(window).scrollTop()=="0"){$(scrollDiv).fadeOut("slow")}else{$(scrollDiv).fadeIn("slow")}});$(this).click(function(){$("html, body").animate({scrollTop:0},"slow")})}});$(function() {$("#toTop").scrollToTop();});</script>
- Now Press Ctrl + F & Find ]]></b:skin>
- Paste The Below Code Above ]]></b:skin>
#backtotop { width:100px;background:#F4FFBF;border:1px solid #ccc;text-align:center;padding:5px;position:fixed;bottom:10px;right:10px;cursor:pointer;color:#666;text-decoration:none; }
- Save Your Template. You Are Done!
good post keep it up... also check:
ReplyDelete5 Killer tips to survive from Google Panda Updates
Thanks a lot Sunil for liking our post...5 tips shared by you are really awesome.Keep in touch.
DeleteGagan Masoun
Good post brother. Please update this post by adding some more Scroll to Top Buttons.
ReplyDeleteThanks in advance,
revealingthestuffs.com
Sriram's New Blog Post: TOP 4 WEBSITES TO GET YOUR BLOG'S POST IN PDF FILE
@Sri, Thanks a lot, yes I will update this post soon with more Scroll to top buttons. :)
DeleteThanks in advance
ReplyDeleteThanks Paa G! HiFiFun.Com
ReplyDeleteYou are welcome @Parwinder veer
Delete