I\'ve used the following function in the past to fade items into view when they\'re on the user\'s screen. An example is one of my projects, here.
I found the origina