Tuesday, 15 September 2015
Smooth Scrolling Back To Top JQuery Widget For Blogger

Method To Add Smooth Scrolling Gadget in Blogger
- Open Your Blogger Blog and Then open Layout of your blog.
- Then click on Add a Gadget.
- New Window will appear and find the option of Edit HTML/JavaScript and open it
- Now Empty box will appear and paste below given codes in it.
<!--Safe Tricks back to top widget Start-->
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js' type='text/javascript'></script><script type='text/javascript'>$(function(){$(window).scroll(function(){if($(this).scrollTop()!=0){$("#ST-top").fadeIn()}else{$("#ST-top").fadeOut()}});$("#ST-top").click(function(){$("body,html").animate({scrollTop:0},800);return false})});</script>
<a id='ST-top' style='display: none; position: fixed; bottom: 1px; right:0%; cursor:pointer;font:12px arial;'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2vShmc8K9_ZqNc8CkzVOdi8MKwyHNSeL5CdUyXRFSu0272H9toNHNoZi_14_ouTQ-vxCdfOa9tGLo07mSbHvBkpdMLH-03dJGrR8iV8izVQ8Tf5sMGzkCAto5xNY2M46hgza9xG2GfTQ/s1600/Back-to-top.png' width="20px" height="30px"/></a>
<!--Safe Tricks back to top widget End-->
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js' type='text/javascript'></script><script type='text/javascript'>$(function(){$(window).scroll(function(){if($(this).scrollTop()!=0){$("#ST-top").fadeIn()}else{$("#ST-top").fadeOut()}});$("#ST-top").click(function(){$("body,html").animate({scrollTop:0},800);return false})});</script>
<a id='ST-top' style='display: none; position: fixed; bottom: 1px; right:0%; cursor:pointer;font:12px arial;'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2vShmc8K9_ZqNc8CkzVOdi8MKwyHNSeL5CdUyXRFSu0272H9toNHNoZi_14_ouTQ-vxCdfOa9tGLo07mSbHvBkpdMLH-03dJGrR8iV8izVQ8Tf5sMGzkCAto5xNY2M46hgza9xG2GfTQ/s1600/Back-to-top.png' width="20px" height="30px"/></a>
<!--Safe Tricks back to top widget End-->
- In case if you want to change your image of arrow which we use in scrolling then replace
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2vShmc8K9_ZqNc8CkzVOdi8MKwyHNSeL5CdUyXRFSu0272H9toNHNoZi_14_ouTQ-vxCdfOa9tGLo07mSbHvBkpdMLH-03dJGrR8iV8izVQ8Tf5sMGzkCAto5xNY2M46hgza9xG2GfTQ/s1600/Back-to-top.png
- To change the height width of your image simply change the values of width="20px" height="30px"
- After replacing save it and open your blog watch working.
I hope like it in case if you don't like our given images then search at Google and then use that one.
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment