Plugins

The plugins site is currently in development.

We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.

Releases for Dimensions


Dimensions 1.2.0

* Only works with jQuery 1.2+
* Removed height, width, offset and offsetLite in favor of core versions
* Position no longer takes a returnObject and has been updated to use the new core offset method
* New version property (jQuery.dimensions.version)
* Units other than pixels are now calculated correctly for margins, borders and paddings.

Dimensions 1.1.2

* Fixed offset calculation of table cells with borders in mozilla
* Fixed an issue in calculating the width and height of the window in Safari/WebKit (introduced in 1.1.1) [Thanks Jerry Wang]

Dimensions 1.1.1

* Fixed issue in calculating document height and width when a large element is positioned absolute
* Cleaned up window height and width calculation

Dimensions 1.1.0

* Offset now works in Safari 3 / WebKit Nighlies
* Added margin option to outerWidth and outerHeight
* Fixed regression where element's scroll offsets where included in the calculations (introduced in 1.0.1)

Dimensions 1.0.1

Fixes some issues with fixed position elements and makes the test suite easier to run locally.

Dimensions 1.0.0-final

* New position method
* New offsetParent method
* New lite option for offset
* New relativeTo option for offset
* API CHANGE: The border option is now defaulted to 'false' for offset
* scrollTop and scrollLeft are now setters and getters
* New test suite
* Updated inline docs and added lite option to visual offset text/example
* Throw meaningful error when the jQuery collection is empty
* Normalized window width and height for Firefox and Opera
* Element's scroll offsets no longer included in calculations for offset
* Added support for Body element in offset
* Change file name and format to better follow plugin standards
* Fixed Opera issue where the scroll offsets are reported as the actual offset
* Various other minor bug fixes

Dimensions 1.0.0-rc1

This release includes several fixes to the position method, new tests and updated documentation.

Dimensions 1.0.0-b2

* API CHANGE: The border option is now defaulted to 'false'
* Added a new method called position. It gets the elements positioned offset.
* Added lite option to visual offset test/example

Dimensions 1.0.0-b

* Element's scroll offsets no longer included in calculations

Dimensions 0.9.0

* Fixed calculation of offsets when a border is present on the body
* Fixed body margin issue for standards compliant pages in IE (introduced in Rev. 1395)
* Fixed calculation of scroll offsets when the parent is the body
* Fixed body margin issue in IE for the offset method
* Removed rogue console.log statement from dimensions plugin
* Adding some comments to offset method
* Mozilla not including border on static elements with overflow != visible
* Opera not calculating offset properly with inline elements
* Updated dimensions methods innerHeight, innerWidth, outerHeight and outerWidth to work with elements that have display: none
* Added the relevant svn:keywords to dimensions
* API CHANGE: Offset method takes an options hash and optional return object.

Dimensions 1.0.0-a

* Added new test suite
* Added offsetLite method
* scrollTop and scrollLeft are now setters and getters
* Added support for Body element in offset
* Change file name and format to better follow plugin standards