Adobe 38040334 API Reference - Page 304
Dreamweaver MX 2004., Creates a new folder with the default name
![]() |
UPC - 883919090467
View all Adobe 38040334 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 304 highlights
DREAMWEAVER CS3 299 API Reference Attribute name description preview type Description Name of snippet Snippet description Type of preview: "code" to display the snippet in preview area or "design" to display the snippet rendered in HTML in the Preview area. If the snippet is used to wrap a user selection, "wrap"; if the snippet should be inserted before the selection, "block". You can use the following methods to add Snippets panel functions to your extensions. dreamweaver.snippetPalette.getCurrentSnippetPath() Availability Dreamweaver MX 2004. Description Returns the path to the snippet that is currently selected in the Snippets panel. Arguments None. Returns The path, relative to the Snippets folder, to the snippet selected in the Snippets panel. Returns an empty string if no snippet is selected. dreamweaver.snippetPalette.newFolder() Availability Dreamweaver MX. Description Creates a new folder with the default name untitled and puts an text box around the default name. Arguments None. Returns Nothing. dreamweaver.snippetPalette.newSnippet() Availability Dreamweaver MX. Description Opens the Add Snippet dialog box and gives it focus.
![](/manual_guide/products/adobe-38040334-api-reference-b593776/304.png)