CSSOM View

This section describes features related to CSS Object Model (CSSOM) View.

In this section

PropertyDescription

height

Gets the height of the rectangle that surrounds the object content.

innerHeight

Gets the height of the window, excluding user interface elements, such as the window frame, toolbars, and so on.

innerWidth

Gets the width of the window, excluding user interface elements, such as the window frame.

offsetX

Gets the x-coordinate of the mouse pointer, relative to the target node.

offsetY

Gets the y-coordinate of the mouse pointer, relative to the target node.

outerHeight

Gets the height of the window, including user interface elements, such as the window frame, toolbars, and so on.

outerWidth

Gets the width of the window, including user interface elements, such as the window frame.

pageX

Gets the x-coordinate of the mouse pointer, relative to the upper-left corner of the page.

pageY

Gets the y-coordinate of the mouse pointer, relative to the upper-left corner of the page.

pageXOffset

Gets the distance, in pixels, that a document has scrolled horizontally.

pageYOffset

Gets the distance, in pixels, that a document has scrolled vertically.

pixelBottom

Sets or retrieves the bottom position of the object.

pixelHeight

Sets or retrieves the height of the object.

pixelLeft

Sets or retrieves the left position of the object.

pixelRight

Sets or retrieves the right position of the object.

pixelTop

Sets or retrieves the top position of the object.

pixelWidth

Sets or retrieves the width of the object.

posBottom

Sets or retrieves the bottom position of the object in the units specified by the bottom attribute.

posHeight

Sets or retrieves the height of the object in the units specified by the height attribute.

posLeft

Sets or retrieves the left position of the object in the units specified by the left attribute.

posRight

Sets or retrieves the right position of the object in the units specified by the right attribute.

posTop

Sets or retrieves the top position of the object in the units specified by the top attribute.

posWidth

Sets or retrieves the width of the object in the units specified by the width attribute.

scrollX

The distance the window was horizontally scrolled.

scrollY

The distance the window was vertically scrolled.

width

Gets the width of the rectangle that surrounds the object content.

x

Gets the x-coordinate of the mouse pointer, relative to the last positioned ancestor element.

y

Gets the y-coordinate of the mouse pointer, relative to the last positioned ancestor element.

 

 

 

Show:
© 2014 Microsoft