Is it possible to grab the current position of the users scroll bar when they scroll?
Say, if they were scrolled to the very top it would be 0, if they scrolled down it’d change.
Can I assign a variable to contain the current scroll position whenever I access it, or is there a function in JavaScript for this already?
From your comment, I get you are looking for a scroll event listener such as
http://api.jquery.com/scroll/, and then you can use http://api.jquery.com/scrollTop/ to find out the position of the scroll.
For example:
http://jsfiddle.net/pFaTF/