Scroll to element

PHOTO EMBED

Wed May 19 2021 07:30:30 GMT+0000 (UTC)

Saved by @distance #jquery

$(document).ready(function () {
    $("#banner__knap").on("click", function () {
        $('html,body').animate({
            scrollTop: $("body > main > div.margin-bottom-100px > div > div").offset().top - 189
        },
            'slow');



    });
});
content_copyCOPY