Scrool to top bouton

Sometimes, pages with a lot of content are long, here's what to save the fingers and the mouse.

ydzkdwcmnbgqjbuwkgqkmqlaywqbrghq.gif


1. Download the file manually
2. Decompress
3. Upload the "topbutton" folder to the root of your site
4. Copy the code below into Designer => Injection => Head Section

<script src="./topbutton/jquery-1.11.3.min.js"></script>
<script src="./topbutton/topbutton.min.js"></script>
<script>
$(document).ready(function(){
    //Top Button
    $.topbutton({
        htlm : "<i>Top</i>",      //String
        css : "width:50px; height:50px; background:rgba(111,0,226,.9); border:none; font-size:20px;", //String
        scrollAndShow : true,    //Boolean
        scrollSpeed : 1000         //Number
    });    
});
</script>

As you can see, you can change the color, the scrolling speed, show the button only down or all the time (scrollAndShow: false).

  • Download
  • 340
Reviews (0)
Info
Status:
Unknown
Category:
Created:
Updated:
Vendor
 ·   · 2 products
  •  · 72 friends

Joined:

Last Active:

Rating
More Products From Baloo