The Design Notes Javascript Api - MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Reference

Dreamweaver api reference
Table of Contents

Advertisement

The following example shows the Design Notes file for foghorn.gif.mno:
<?xml version="1.0" encoding="iso-8859-1" ?>
<info>
<infoitem key="FW_source" value="file:///C|sites/¬
dreamcentral/images/sourceFiles/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.
Always call the MMNotes.close() function when you finish with Design Notes so
Dreamweaver writes to the file.
Arguments
fileHandle
The
fileHandle
Returns
Nothing.
Example
See
"MMNotes.set()" on page
MMNotes.filePathToLocalURL()
Description
This function converts the specified local drive path to a file:// URL.
40
The Design Notes API
argument is the file handle that the
45.
MMNotes
function returns.
MMNotes.open()
object.

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?

This manual is also suitable for:

Dreamweaver 8

Table of Contents