Created
January 27, 2022 18:18
-
-
Save russo97/c806cede34ab2ca96be8ee1ecdf1a99b to your computer and use it in GitHub Desktop.
Roll Page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#rd-button-kyvzb3m6').on('click', function (e) { | |
e.preventDefault(); | |
$('html, body').animate({ | |
scrollTop: $('#rd-box-joq3m2m2').offset().top | |
}, 800, 'swing', function () { | |
$('input[name="name"]').focus(); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment