Adobe Dreamweaver API Reference CS5 Instrukcja Użytkownika Strona 267

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 533
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 266
262
DREAMWEAVER API REFERENCE
Document
Last updated 8/27/2013
Arguments
documentObject, {fileURL}
The documentObject argument is the object at the root of a document’s DOM tree, which is the value that the
dreamweaver.getDocumentDOM() function returns.
The fileURL argument, which is optional, is a URL that represents a location on a local computer. If the URL is
relative, it is relative to the extension file. In Dreamweaver 2, this argument is required. If the fileURL argument is
omitted in Dreamweaver 4, the file is saved to its current location if it has been previously saved; otherwise, a Save
dialog box appears.
Returns
A Boolean value that indicates success (true) or failure (false).
Enabler
See “dreamweaver.canSaveDocument()” on page 508.
dreamweaver.saveDocumentAs()
Availability
Dreamweaver 3.
Description
Opens the Save As dialog box.
Arguments
documentObject
The documentObject argument is the object at the root of a document’s DOM tree, which is the value that the
dreamweaver.getDocumentDOM() function returns.
Returns
Nothing.
dreamweaver.saveDocumentAsTemplate()
Availability
Dreamweaver 3.
Description
Opens the Save As Template dialog box.
Arguments
documentObject, {fileName}
The documentObject argument is the object at the root of a document’s DOM tree, which is the value that
dreamweaver.getDocumentDOM() returns.
The fileName argument, which is optional, is the name of the file to open, expressed as an absolute URL.
Przeglądanie stron 266
1 2 ... 262 263 264 265 266 267 268 269 270 271 272 ... 532 533

Komentarze do niniejszej Instrukcji

Brak uwag