MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Especificaciones Pagina 536

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 692
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 535
536
Example
The following code wraps a link around the current selection:
var theDOM = dw.getDocumentDOM();
var theSel = theDOM.getSelectedNode();
if (theSel.nodeType == Node.TEXT_NODE){
theDOM.wrapTag(’<a href="foo.html">’);
}
dreamweaver.showQuickTagEditor()
Availability
Dreamweaver 3
Description
Displays the Quick tag editor for the current selection.
Arguments
{nearWhat}, {mode}
nearWhat, if specified, must be either "selection" or "tag selector". The default value, if
this argument is omitted, is
"selection".
mode, if specified, must be "default", "wrap", "insert", or "edit". If mode is "default" or
omitted, Dreamweaver uses heuristics to determine the mode to use for the current selection.
mode is ignored if nearWhat is "tag selector".
Returns
Nothing.
Report Functions
Report functions provide access to the Dreamweaver reporting features so you can initiate,
monitor and customize the reporting process. For more information, see Reports on page 103.
dreamweaver.isReporting()
Availability
Dreamweaver 4
Description
Checks to see if a reporting process is currently running.
Arguments
None.
Returns
A Boolean value that indicates whether a process is running (true) or not (false).
dreamweaver.showReportsDialog()
Availability
Dreamweaver 4
Vista de pagina 535
1 2 ... 531 532 533 534 535 536 537 538 539 540 541 ... 691 692

Comentarios a estos manuales

Sin comentarios