beautypg.com

Dom.browser.getstatustext(), Dom.browser.getwindow(), Dom.browserele.loadhtml() – Adobe Dreamweaver API Reference CS5 User Manual

Page 369

background image

364

DREAMWEAVER API REFERENCE

Dynamic documents

Last updated 8/27/2013

Description
This function is used to get the current selection from the browser in Live view.

Arguments
None.

Returns
Returns an array with two offsets for the start and end positions of the selection in the source code.

dom.browser.getStatusText()

Availability
Dreamweaver CS4.

Description
This function is used to get the current status text for the browser. It is usually an empty string or the string "

loading

file …

".

Arguments
None.

Returns
Returns text that is displayed in the status area of the chrome of a browser.

dom.browser.getWindow()

Availability
Dreamweaver CS4.

Description
This function is used to get the window object for the browser control. You can access the browser document object
model from the window object.

Arguments
None.

Returns
Returns an object.

dom.browserEle.loadHTML()

Availability
Dreamweaver CS4.