BrowserWindow
The BrowserWindow object allows for simple interaction with the browsers window measurements and events.
Constructors
|
Constructor
|
Initializes a new instance of the BrowserWindow class.
|
Methods
|
GetDocumentHeight
|
Returns the height of the current document.
|
|
GetDocumentWidth
|
Returns the width of the current document.
|
|
GetElementHeight
|
Returns the height of the specified DOMElement element argument.
|
|
GetElementLeft
|
Returns the left coordinate of the specified DOMElement element argument.
|
|
GetElementTop
|
Returns the top coordinate of the specified DOMElement element argument.
|
|
GetElementWidth
|
Returns the width of the specified DOMElement element argument.
|
|
GetEvent
|
Returns event data from the specified event object argument.
|
|
GetScrolledX
|
Returns the amount the window was scrolled on the X axis.
|
|
GetScrolledY
|
Returns the amount the window was scrolled on the Y axis.
|
|
GetWindowHeight
|
Returns the height of the browser window.
|
|
GetWindowWidth
|
Returns the width of the browser window.
|
|
IncludeCSS
|
Includes a CSS file into the browser session with the specified string url argument.
|
|
IncludeJS
|
Includes a javascript file into the browser session with the specified string url argument.
|
Notes
|