hunkScrollTop.js hey guyz in this post i am going to give you a hunkScrollTop.js jQuery plugin created by Husain Saify (hunk). Its a light weight plugin with make a dynamic ScrollTop button for your website.
html to use the hunkScrollTop.js you just need to add the jQuery & hunkScrollTop.js in the head
<script type="text/javascript" src="http://code.jquery.com/jquery-1.11.0.min.js"></script> <script type="text/javascript" src="hunkScrollTop.js"></script>js To use hunkScrollTop.js you just need to call the hunkScrollTop with html and give the speed in parameters $('html').hunkScrollTop(1000);
<script type="text/javascript"> $(document).ready(function(){ $('body').hunkScrollTop(1000); }); </script>Readmore-: http://hunklessons.blogspot.in/2014/03/hunkscrolltopjs-jquery-plugin-by-husain.html demo-: http://live.hunklessons.tk/hunkScrollTop-jquery-scroolToTop-plugin-by-husain-saify/