Quantcast
Channel: jQuery API Documentation » Offset
Browsing latest articles
Browse All 28 View Live

.scrollTop()

Contents: .scrollTop().scrollTop() .scrollTop( value ).scrollTop( value ) .scrollTop()Returns: Integer Description: Get the current vertical position of the scroll bar for the first element in the set...

View Article



.scrollLeft()

Get the current horizontal position of the scroll bar for the first element in the set of matched elements or set the horizontal position of the scroll bar for every matched element. Contents:...

View Article

.position()

.position()Returns: Object Description: Get the current coordinates of the first element in the set of matched elements, relative to the offset parent. version added: 1.2.position() This method does...

View Article

.offsetParent()

.offsetParent()Returns: jQuery Description: Get the closest ancestor element that is positioned. version added: 1.2.6.offsetParent() This method does not accept any arguments. Given a jQuery object...

View Article

.offset()

Get the current coordinates of the first element, or set the coordinates of every element, in the set of matched elements, relative to the document. Contents: .offset().offset() .offset( coordinates )...

View Article

Browsing latest articles
Browse All 28 View Live




Latest Images