+1 vote
by
Who knows, please advise how to disable vertical scrolling of body to the end, i.e. to leave at the end exactly 150 px?
So that the user does not see the footer of the site.
by
RAX7 No, I just wrote it for clarity. The point of the script is a little different.
by
You can't do that. Technically you can, but you shouldn't
by
BiFly why not just hide the footer?
by
WapSter I'm just interested in a purely technical point)
by
BiFly Do you drive nails with a microscope?

1 Answer

0 votes
by
 
Best answer
Listen to the scroll event, and if it exceeds the value, set your own. The solution will probably work with a jerk, so we need to think about how it can be improved.

More options you can try from here:
https://stackoverflow.com/questions/4770025/how-to...
...