beautypg.com

Dom.getliveviewusingserver(), Dom.setliveviewusingserver(), Dom.getliveviewdefaultstousingserver() – Adobe Dreamweaver API Reference CS5 User Manual

Page 361

background image

356

DREAMWEAVER API REFERENCE

Dynamic documents

Last updated 8/27/2013

Returns
None.

dom.getLiveViewUsingServer()

Availability
Dreamweaver CS4.

Description
This function lets you know whether the current page is previewed using a server.

Arguments
None.

Returns
A Boolean value:

true

if the current page must be previewed using a server;

false

otherwise.

dom.setLiveViewUsingServer()

Availability
Dreamweaver CS4.

Description
This function enables you to specify whether a page can be previewed using a server.

Arguments

bool

The

bool

argument is a Boolean value that indicates whether a page can be previewed using a server. If you pass

true

to this function, the page can be previewed using a server.

Returns
None.

dom.getLiveViewDefaultsToUsingServer()

Availability
Dreamweaver CS4.

Description
This function is used to determine whether the default action is to preview using a server.

Arguments
None.