This file contains all the logic needed to figure out the size of things and a few helpers like .scrollTo.
Scrolls an element to the coordinates you specify; note that this isn't a smooth transition; it just jumps to that location.
$('scrollExample').scrollTo(0, 30); //jump 30px down

Returns an object with x/y definitions for size (width/height).
$('getSizeExample').getSize(); //returns something like: //{ // x=660, // y=44 //}

Returns an object with x/y definitions for scroll size (the total width/height that an element can scroll).
$('scrollExample').getSize(); //returns something like: //{ // x=660, // y=44 //}

Returns an object with x/y definitions for scroll position (the scroll offset for the top and left).
$('scrollExample').getScroll(); //returns something like: //{ // x=0, // y=20 (whatever the scroll offset is above) //}

Returns an object with the offsetLeft and offsetTop as x and y properties:
$('positionExample').getPosition(); //returns something like {x:20, y:570}

Returns an object with definitions for width, height, left and top:
$('getCoordinatesExample').getCoordinates (); //returns something like: //{ // width:660, // height:37, // left:20, // right:680, // top:13033 //}

* Element.getTop and getLeft are replaced by Element.getPosition