browseDocument;
(???http://www.idest.com/dreamweaver/help/entitiesHelp.htm???)
}
The preceding code includes an absolute URL that pulls a page off the Web. You can also reference a file
locally. The best way to do this is to use another Dreamweaver JavaScript function,
getConfigurationPath(). As its name implies, this function returns the current path to the
Configuration folder. Using this as a base, you can reference other files installed on the system. In this
example, the help file is stored in a folder called HelpDocs, which, in turn, is stored within the
Configuration folder:
function displayHelp() {
var helpPath = dreamweaver.getConfigurationPath() + ;
???/Configuration/ExtensionsHelp/Replicator/replicatorHelp.htm???
dreamweaver.browseDocument(helpPath)
}
Attaching a parameter form
To be truly useful, many objects require additional attributes. Several of the standard objects in
Dreamweaver use parameter forms to simplify entry of these attributes. A parameter form is the portion of
the object code that creates a dialog box. Dreamweaver uses the HTML form commands for handling the
parameter form duties.
To see how a parameter form is structured, look at the parameter forms used in the standard objects. Click
the Insert Script button in the Script category of the Insert bar.
Pages:
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881