Dreamweaver 8.
Converts a site-relative URI reference to a local file path.
siteRelativeURI
siteRelativeURI attribute, which is required, is a string that contains the site-relative URI.
A string, which specifies the path to a local file on your local computer.
The following example
var filePath = site.siteRelativeToLocalPath("/myWebApp/myFile.xlml");
returns "C:\Inetpub\wwwroot\siteA\myFile.xml" based on your site mappings and HTTP address specified in the Local info of the Site Definition dialog box.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/dreamweaver/8/apiref/13_sit81.htm