MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Especificações Página 455

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 692
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 454
455
dreamweaver.newFromTemplate()
Availability
Dreamweaver 3
Description
Creates a new document from the specified template. If no argument is supplied, the Select
Template dialog box appears.
Arguments
{templateURL,} bmaintain
templateURL is the path to a template in the current site, which is expressed as a file: // URL.
bmaintain is a Boolean value, true or false, that indicates whether to maintain the link to
the original template.
Returns
Nothing.
dreamweaver.openDocument()
Availability
Dreamweaver 2
Description
Opens a document for editing in a new Dreamweaver window and gives it the focus. For a user,
the effect is the same as choosing File > Open and selecting a file. If the specified file is already
open, the window that contains the document comes to the front. The window that contains the
specified file becomes the currently selected document. In Dreamweaver 2, if check in/check out
is enabled, the file is checked out before it opens. In Dreamweaver 4, you must use
“dreamweaver.openDocumentFromSite()” on page 455 to get this behavior.
Note: This function cannot be called from Behavior action or object files because it causes an error.
Arguments
fileName
fileName
is the name of the file to be opened, which is expressed as a URL. If the URL is relative,
it is relative to the file that contains the script that called this function.
Returns
The document object for the specified file, which is the same value that
dreamweaver.getDocumentDOM() returns.
dreamweaver.openDocumentFromSite()
Availability
Dreamweaver 3
Description
Opens a document for editing in a new Dreamweaver window and gives it the focus. For a user,
the effect is the same as double-clicking a file in the Site panel. If the specified file is already open,
the window that contains the document comes to the front. The window that contains the
specified file becomes the currently selected document.
Vista de página 454
1 2 ... 450 451 452 453 454 455 456 457 458 459 460 ... 691 692

Comentários a estes Manuais

Sem comentários