Well, I of course knew what the
e is, but I don't see why he needs it for that code.
Why does he need to reference the triggering event when the code just does (now, as simplified):
Code:
<script type='text/javascript'>
var scrollPosition = document.body.scrollTop; // initial value
document.onscroll =
function( )
{
scrollPosition = document.body.scrollTop;
};
</script>
That's what *I* meant by "why is
e there?" I don't see it being used, at all.