Enablers
447
dreamweaver.canSaveDocument()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can perform a Save operation on the specified document.
Arguments
documentObject
•
The
documentObject
argument is the root of a document’s DOM (the same value that the
dreamweaver.getDocumentDOM()
function returns).
Returns
A Boolean value that indicates whether the document has any unsaved changes.
dreamweaver.canSaveDocumentAsTemplate()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can perform a Save As Template operation on the
specified document.
Arguments
documentObject
•
The
documentObject
argument is the root of a document’s DOM (the same value that the
dreamweaver.getDocumentDOM()
function returns).
Returns
A Boolean value that indicates whether the document can be saved as a template.
dreamweaver.canSaveFrameset()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can perform a Save Frameset operation on the specified document.
Arguments
documentObject
•
The
documentObject
argument is the root of a document’s DOM (the same value that the
dreamweaver.getDocumentDOM()
function returns).
Returns
A Boolean value that indicates whether the document is a frameset with unsaved changes.
000_DW_API_Print.book Page 447 Wednesday, August 20, 2003 9:14 AM
Содержание DREAMWEAVER MX 2004
Страница 1: ...Dreamweaver API Reference...
Страница 24: ...24 Contents...
Страница 32: ......
Страница 70: ...70 Chapter 5 Fireworks Integration...
Страница 76: ...76 Chapter 6 Flash Integration...
Страница 116: ...116 Chapter 9 The JavaBeans API...
Страница 140: ......
Страница 152: ...152 Chapter 11 Application...
Страница 218: ...218 Chapter 12 Workspace...
Страница 248: ...248 Chapter 13 Site...
Страница 292: ...292 Chapter 14 Document...
Страница 378: ...378 Chapter 17 Design...
Страница 430: ...430 Chapter 18 Code...
Страница 486: ...486 Index...