MAX30 / TopAndDownButtonsEverywhere

Hi.

Nice script so far but as others said before me, it should not be visible all the time...

I'm not a coder so I can't implement such like this I found in the net:

/*Scroll to top when arrow up clicked BEGIN*/
$(window).scroll(function() {
    var height = $(window).scrollTop();
    if (height > 100) {
        $('#back2Top').fadeIn();
    } else {
        $('#back2Top').fadeOut();
    }
});
$(document).ready(function() {
    $("#back2Top").click(function(event) {
        event.preventDefault();
        $("html, body").animate({ scrollTop: 0 }, "slow");
        return false;
    });

});
 /*Scroll to top when arrow up clicked END*/

Maybe you can implement this?` :)

Best regards

No, as the description says, he does not use jQuery, that dollar sign you see in the code is jQuery.