When a user scrolls past a div I need it\'s css changed to position:fixed. Much like what is done here: http://imakewebthings.com/jquery-waypoints/shortcuts/sticky-elements/
the page you reference uses jQuery:
If you have specific questions ask away, but i doubt many will go through explaining the entire script for you.