Answer the question
In order to leave comments, you need to log in
How to make a scroll of a certain block, but on the whole screen?
There is a block with the overflow-y: auto style, all page content fits on the screen. The entire scroll takes place in a smaller block, where all the content is. It is necessary that this block scrolls at any point in the document when scrolling.
PS For those who can not understand what I mean. Please don't try to list mouse events.
Answer the question
In order to leave comments, you need to log in
If someone is interested in how to do such a thing, here is the code that allows you to do this:
https://jsfiddle.net/Zebren/rwbpo3ft/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question