I'm just temporarily using "<body style="overflow : hidden">" to hide the scrollbar.
What I need to do is creating a script which can do exactly what the above code does, but that automatically (for eg after 1 minute) reactivates the scrollbar.
User Profile
Collapse
-
Temporarily disable the scrollbar with JavaScript
Hi there! I need a script to disable the vertical scrollbar for (eg) one minute, then the page should get back to be normal.
I'm using this to block the page, but I can't then restore the page.
<body style="overflow : hidden">
Thank you so much.
No activity results to display
Show More
Leave a comment: