The Design Notes Javascript Api - Adobe 38040334 - Dreamweaver CS3 User Manual

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

Advertisement

<?xml version="1.0" encoding="iso-8859-1" ?>
<info>
<infoitem key="FW
foghorn.png" />
<infoitem key="Author" value="Heidi B." />
<infoitem key="Status" value="Final draft, approved by Jay L." />
</info>

The Design Notes JavaScript API

All functions in the Design Notes JavaScript API are methods of the
MMNotes.close()
Description
This function closes the specified Design Notes file and saves any changes. If all the key/value pairs are removed,
Dreamweaver deletes the Design Notes file. If it is the last Design Notes file in the _notes folder, Dreamweaver also
deletes the folder.
Note: Always call the
MMNotes.close()
Arguments
fileHandle
• The
argument is the file handle that the
fileHandle
Returns
Nothing.
Example
See "MMNotes.set()" on page 27.
MMNotes.filePathToLocalURL()
Description
This function converts the specified local drive path to a file:// URL.
Arguments
drivePath
• The
argument is a string that contains the full drive path.
drivePath
Returns
A string that contains the file:// URL for the specified file.
Example
A call to
MMNotes.filePathToLocalURL('C:\sites\webdev\index.htm')
"file:///c|/sites/webdev/index.htm"
_
source" value="file:///C|sites/dreamcentral/images/sourceFiles/¬
function when you finish with Design Notes so Dreamweaver writes to the file.
.
object.
MMNotes
function returns.
MMNotes.open()
returns
DREAMWEAVER CS3
23
API Reference

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents