Ajax Bestiary: A Javascript Field Guide
 
Ajax Bestiary: A Javascript Field Guide
 
 

jQuery Dimension Plugin, Spacial Awareness Made Simple

Posted by Don Albrecht

One of the most powerful jQuery plugins is dimension.  Using dimension you can obtain the position, height & width of just about any element on the page and the window itself.

Uses:

  • Determine dimensions of document
  • Determine dimensions of window
  • Determine scroll offsets of containers
  • Set scroll offsets of containers
  • Determine dimensions of container contents
  • Determine absolute position of elements
  • Determine dimensions & offsets of parent elements.

Find Plugin & API Documentation here:

 http://brandonaaron.net/docs/dimensions/


2 Comments

Leave a Reply