I need to capture mouse wheel events while the mouse is on a div or on elements within the div, and prevent the page to scroll.
There are some solutions in this forum (like this and this) but the page keeps scrolling.
The solution must be pure JavaScript (i.e. no jQuery or the like).