Fading Element on Scroll
Posted
by user179846
on Stack Overflow
See other posts from Stack Overflow
or by user179846
Published on 2009-09-27T20:59:31Z
Indexed on
2010/03/28
16:03 UTC
Read the original article
Hit count: 132
I'm curious how I can create a DIV (or anything really) that I can fade (or change opacity of) when a user scrolls down the page. This DIV would sit at the top of the page, but only be clearly visible when at the very top of the page.
Additionally, it would be ideal if I I could have this element fade back in onmouseover, regardless of the current scrolled position on the page.
© Stack Overflow or respective owner