Site Functions - Adobe 38040334 - Dreamweaver CS3 User Manual

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

dreamweaver.showReportsDialog()
Availability
Dreamweaver 4.
Description
Opens the Reports dialog box.
Arguments
None.
Returns
Nothing.

Site functions

Site functions handle operations that are related to files in the site files or site map. These functions let you perform
the following tasks:
• Create links between files
• Get, put, check in, and check out files
• Select and deselect files
• Create and remove files
• Get information about the sites that the user has defined
• Import and export site information
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();
DREAMWEAVER CS3
194
API Reference

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents