Home » Documentation » BrowserWindow

BrowserWindow

The BrowserWindow object allows for simple interaction with the browsers window measurements and events.

Constructors

Name Description
Constructor  Initializes a new instance of the BrowserWindow class.

Methods

Name Description
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.
Arguments:
(Element)
GetElementLeft  Returns the left coordinate of the specified DOMElement element argument.
Arguments:
(Element)
GetElementTop  Returns the top coordinate of the specified DOMElement element argument.
Arguments:
(Element)
GetElementWidth  Returns the width of the specified DOMElement element argument.
Arguments:
(Element)
GetEvent  Returns event data from the specified event object argument.
Arguments:
(Event)
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.
Arguments:
(URL)
IncludeJS  Includes a javascript file into the browser session with the specified string url argument.
Arguments:
(URL)

Notes

Please note  *This object is only available in javascript 
Are you a robot?
Your Email:
Create a Username:
Create a Password:
Forgot Password?
Validate Text: Captcha