beautypg.com

Dom.browser.interactivitypaused, Dom.browser.javascriptenabled, Mm:browsercontrol – Adobe Dreamweaver API Reference CS5 User Manual

Page 370

background image

365

DREAMWEAVER API REFERENCE

Dynamic documents

Last updated 8/27/2013

Description
This function loads an HTML string directly into the browser control. This function is useful if you have HTML strings
ready to go. The HTML strings must not be associated with a document.

Arguments
None.

Returns
None.

dom.browser.interactivityPaused

Availability
Dreamweaver CS4.

Description
This property enables you to know whether interactivity is enabled.

Arguments
None.

Returns
A Boolean value:

true

if interactivity is enabled;

false

otherwise.

dom.browser.javaScriptEnabled

Availability
Dreamweaver CS4.

Description
This property enables you to know whether JavaScript is enabled. This property works like

dom.interactivityPaused()

, but only for JavaScripts.

Arguments
None.

Returns
A Boolean value:

true

if JavaScript is enabled;

false

otherwise.

You can use this tag in extensible dialogs to display a browser in the dialog. This tag does not have special attributes.
You can control the size of the browser window using CSS styling. The DOM object returned by the tag is the same
type of object as

dom.browser

, but it is not the same instance. The

dom.browser

function does not work in

commands, you must get the browser object in the DOM. An example of the tag is: