Documentation

Plugins/dimensions/offsetParent

From jQuery JavaScript Library

Jump to: navigation, search

« Back to Plugins/dimensions

offsetParent( )

Gets the positioned parent of the first matched element.
This is the first parent of the element that has position (as in relative or absolute). This method only works with visible elements.