Dom.browser.getselection(), Dom.browser.sethomepage(), Dom.browser.gethomepage() – Adobe Dreamweaver API Reference CS5 User Manual

Page 368

Advertising
background image

363

DREAMWEAVER API REFERENCE

Dynamic documents

Last updated 8/27/2013

dom.browser.setHomePage()

Availability
Dreamweaver CS5.

Description
This function is used to instruct the browser to set a specified URL as the home page.

Arguments

DWUri

A

DWUri

object that contains the URI information.

Returns

bool

A Boolean value:

true

if the operation succeeds.

dom.browser.getHomePage()

Availability
Dreamweaver CS5.

Description
This function is used to get the current home page of the browser.

Arguments
None.

Returns
DWUri Object

A

DWUri Object

that contains the URI information.

dom.browser.getSelection()

Availability
Dreamweaver CS4.

Property

Description

uri

The URI used by the browser for the history item. The property type is a

DWUri

object.

originalUri

The original URI for the history item. The original URI value is usually same as the URI value. The
property type is a

DWUri

object.

title

The title of the page that was viewed. The property type is a

String

.

isPost

Denotes whether the item will re-post the form data when it loads. The property type is a

bool

.

Advertising