dom.getSiteURLPrefixFromDoc()

Availability

Dreamweaver 8.

Description

This function gets the site URL prefix that is extracted from the HTTP address defined in the Local Info section of the Site Definition dialog box.

Arguments

None.

Returns

A string, which specifies the site URL prefix.

Example

The following example gets the site URL prefix for the current document:

var currentDOM = dw.getDocumentDOM();
var sitePrefix = dom.getSiteURLPrefixFromDoc();

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/dreamweaver/8/apiref/13_site6.htm