moves scripts to dedicated folder
This commit is contained in:
parent
ce606023e2
commit
a0d02e87c4
5 changed files with 4 additions and 3 deletions
4
scripts/autoScroll.js
Normal file
4
scripts/autoScroll.js
Normal file
|
@ -0,0 +1,4 @@
|
|||
setTimeout(() => {
|
||||
if (window.scrollY < 20)
|
||||
window.scrollBy({top: window.innerHeight - 70, left: 0, behavior: 'smooth'})
|
||||
}, 1800); // we scroll the screen down a bit so the user realises theres more
|
Loading…
Add table
Add a link
Reference in a new issue