I am curious how I can create a DIV (or something really) that I can fade out (or change the opacity) when the user scrolls down the page. This DIV will sit at the top of the page, but will only be clearly visible when it is at the very top of the page.
In addition, it would be ideal if I could return this element to onmouseover, regardless of the current scroll position on the page.
javascript visibility html scroll fade
marck
source share