326
Chapter 15: Page Content
dreamweaver.snippetPalette.insertSnippet()
Availability
Dreamweaver MX.
Description
Inserts the indicated snippet into the current selection.
Arguments
•
A string that specifies the path to the snippet relative to the Snippets folder.
Returns
A Boolean value.
Enabler
“dreamweaver.snippetpalette.canInsert()” on page 455
.
Example
The following call to the
dw.snippetPalette.insertSnippet()
function inserts the code
snippet at the location specified by the argument into the current document at the
insertion point:
dw.snippetPalette.insertSnippet('Text\\Different_Link_Color.csn');
dreamweaver.snippetPalette.rename()
Availability
Dreamweaver MX.
Description
Activates a text box around the selected folder name or file nickname and lets you edit the
selected element.
Arguments
None.
Returns
Nothing.
dreamweaver.snippetPalette.remove()
Availability
Dreamweaver MX.
Description
Deletes the selected element or folder from the Snippets panel and deletes the file from the disk.
Returns
Nothing.
000_DW_API_Print.book Page 326 Wednesday, August 20, 2003 9:14 AM
Содержание DREAMWEAVER MX 2004-DREAMWEAVER API
Страница 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...