How to Use the Script:
- Copy the script and paste it just before the closing </body> tag. https://cdn.jsdelivr.net/gh/jeminids/webflow-codes@disable-scroll-v1.0/disable-scroll.min.js
- There are two main elements: disable scroll trigger & enable scroll trigger. it can be div, a, button, etc.
- To set the disable scroll trigger, add an attribute: data-scroll=disable.
- To set the enable scroll trigger, add an attribute: data-scroll=enable.