I'd like to create a function that block the scroll for a couple of seconds when I'm at certain points of the page or when a div become visible.
I'm using the .waypoint plugin to trigger the function, I've tried the css "overflow: hidden" method but doesn't work well: it isn't immediate (if I scroll fast it activates late) and It creates some issues with the layout because of the disappearing of the scrollbar.
Any suggestion?