DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
js scroll to top
// this changes the scrolling behavior to "smooth" window.scrollTo({ top: 0, behavior: 'smooth' });
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#js
#scroll
#top
ADD COMMENT
Topic
COMMENT
Name
5+3 =
Submit