Upon opening my website, an information box (div) appears on the screen. However, when the user scrolls down and the box is no longer visible, I want it to always appear in the top right corner while scrolling.
I have figured out how to keep it visible at all times by using position: fixed. The issue is determining when it is no longer within view while scrolling. I am open to using JavaScript for this, and I personally prefer Prototype JS.
Thank you!