Adobe Dreamweaver API Reference CS5 Instrukcja Użytkownika Strona 337

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 533
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 336
332
DREAMWEAVER API REFERENCE
Page content
Last updated 8/27/2013
dreamweaver.snippetPalette.insert()
Availability
Dreamweaver MX.
Description
Applies the selected snippet from the Snippets panel to the current selection.
Arguments
None.
Returns
Nothing.
Enabler
See “dreamweaver.snippetpalette.canInsert()” on page 520.
dreamweaver.snippetPalette.insertSnippet()
Availability
Dreamweaver MX.
Description
Inserts the indicated snippet into the current selection.
Arguments
path
A string that specifies the path to the snippet relative to the Snippets folder.
Returns
A Boolean value.
Enabler
See “dreamweaver.snippetpalette.canInsert()” on page 520.
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.
Przeglądanie stron 336
1 2 ... 332 333 334 335 336 337 338 339 340 341 342 ... 532 533

Komentarze do niniejszej Instrukcji

Brak uwag