I am a beginner in programming, and I want to complete an effect now! When the mouse scrolls down, the elements on the screen will follow the offset of the position, and when the mouse scrolls up again, the elements will also be offset to the original position. However, when the mouse is stopped, the position should not be continuously
Tag: parallax
javascript: onclick=”scrollWin()” doesn’t work as intended
I have the following simple page: a header with a name on the top left that disappears when you scroll down (you see the menu on the bottom right instead) a fixed background picture (parallax) and a menu at the bottom right corner which shows up when scrolling down (because of the parallax) Apart from scrolling with the mouse, I