Dreamweaver 8.
This function 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
var filePath = siteRelativeToLocalPath("/myWebApp/myFile.xml");
returns "C:\Inetpub\wwwroot\siteA\myFile.xml", based on your site mappings and the HTTP address specified in the Local Info section 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_site8.htm