Is this the right forum for coding help?
I would appreciate any scripting advice/example code on this.
I am trying to change the background color of my page while the user is scrolling.
To be more precise, I want to slowly transition the color of the page depending on the scrollbars position.
I need to be able to set parameters for the opening color and the closing color.
To be more precise, I'm saying that I would like my page to be one color when the scrollbar is at the top and another color when the scrollbar is at the bottom. While scrolling up, the color should gradually shift from the bottom color to the top color and while scrolling down the color should gradually shift the opposite way.
I would like to be able to call an event to happen when the scrollbar is at a certain position. For instance, when the scrollbar is half way down the page, I would like to issue an alert.
Thank you for your assistance in this matter.![]()