JAVASCRIPT: how to make a function only execute once per second?
Go to solution
Solved by Ominous,
On 12/25/2021 at 10:51 AM, QQ_cazo said:well, my goal is to make a "scrolling div", like kinda how on the reddit app, you can keep scrolling forerver yet the NAV and other stuff stays put
You can make it stay using the position CSS attribute: https://www.w3schools.com/howto/howto_js_navbar_sticky.asp

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now