Check if page scroll is at bottom

May seem odd to check if the page scroll is at bottom, but can be useful if you need to hide something or show something else, as in a back to top button for example.

    if ( document.body.scrollHeight - $(this).scrollTop()  <= $(this).height() ){
    } else {

Leave a Reply

Your email address will not be published. Required fields are marked *

87 − = 77