Adobe 38040334 - Dreamweaver CS3 User Manual page 113

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

Advertisement

dreamweaver.getSecondaryBrowser()
Availability
Dreamweaver 3.
Description
Gets the path to the secondary browser.
Arguments
None.
Returns
A string that contains the path on the user's computer to the secondary browser, which is expressed as a file:// URL.
If no secondary browser is defined, it returns nothing.
dreamweaver.openHelpURL()
Availability
Dreamweaver MX.
Description
Opens the specified Help file in the operating system Help viewer.
Dreamweaver displays help content in the standard operating system help viewer instead of a browser. Help content
is in HTML, but it is packaged for Windows HTML Help or Help Viewer for Mac OS X.
The following four types of files comprise the full help content. For more information on Help files, see your
operating system documentation.
• Help book
A Help book consists of the HTML Help files, images, and indexes. In Windows, the Help book is a file that has a
name with a .chm extension. On the Macintosh, the Help book is a folder.
The Help book files reside in the Dreamweaver Help folder.
• The help.xml file
The help.xml file maps book IDs to help book names. For example, the following XML code maps the book ID for
Dreamweaver Help to the filenames that contains help on both the Windows and Macintosh operating systems:
"
"
<?xml version =
1.0
<help-books>
"
"
<book-id id=
DW_Using
</help-books>
Each
entry has the following attributes:
book-id
• The
attribute is the book ID that is used in the help.map and HelpDoc.js files.
id
• The
attribute is the Windows book name, which is
win-mapping
• The
attribute is the Macintosh book name, which is
mac-mapping
• The help.map file
?>
"
win-mapping=
UsingDreamweaver.chm
"
"
mac-mapping=
Dreamweaver Help
"UsingDreamweaver.chm"
in this example.
"Dreamweaver Help"
DREAMWEAVER CS3
108
API Reference
"
/>
in this example.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents