Created
October 7, 2021 08:07
-
-
Save Attaulla9/a07b0c7d7cef424d15569e731f6b7832 to your computer and use it in GitHub Desktop.
Smooth scroll when click (Take you to the section)
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
$("#lp-pom-text-1222").click(function () { | |
$('html, body').animate({ | |
scrollTop: $("#lp-pom-block-767").offset().top | |
}, 2000); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment