title: How to get page 's scroll position change event in JS?
body: <p>How to get page 's scroll position change event?</p>
  
  <p>I want to implement dynamic table of contents like <a href="http://bonsaiden.github.com/JavaScript-Garden/" rel="nofollow">http://bonsaiden.github.com/JavaScript-Garden/</a> ( In this website, with your scrolling of the webpage, It also shows the current active item)</p>
  
  <p>Is it possible to implement same thing without getting current scroll-position?</p>
  
  <p>I am very new to JS and web-world.</p>