Whether you are a blogger user or wordpress or you use any other CMS, the code below works for all platforms and is compatible with all browsers.
Go To Blogger > Design
Choose HTML/JavaScript widget
and paste these two codes inside it and hit save. That's it!
For scrolling Down use this code :
<a rel="nofollow" style="display:scroll;position:fixed;top:10px;right:5px;" href="#footer" title="Back to Top"><img src="ADD URL OF BACK TO BOTTOM BUTTON HERE"/></a>Make sure to replace the bolded text with the link of your button. If for some reason the button didn't work then replace footer with credits.
For scrolling Up use this code :
<a rel="nofollow" style="display:scroll;position:fixed;bottom:10px;right:5px;" href="#" title="Back to Top"><img src="ADD URL OF BACK TO TOP BUTTON HERE"/></a>Again fill up the required detail with the link/url of back to top button.
0 comments:
Post a Comment