User Guide
Snippets panel functions 391
dreamweaver.updatePages()
Availability
Dreamweaver 3.
Description
Opens the Update Pages dialog box and selects the specified options.
Arguments
{typeOfUpdate}
■ The optional typeOfUpdate argument must be "library", "template", or "both", if
you specify it. If the argument is omitted, it defaults to
"both".
Returns
Nothing.
Snippets panel functions
Using Dreamweaver, web developers can edit and save reusable blocks of code in the Snippets
panel and retrieve them as needed.
The Snippets panel stores each code snippet in a CSN file within the Configuration/Snippets
folder. Snippets that come with Dreamweaver are stored in the following folders:
■ Accessible
■ Comments
■ Content_tables
■ Filelist.txt
■ Footers
■ Form_elements
■ Headers
■ Javascript
■ Meta
■ Navigation
■ Te xt
Snippet files are XML documents, so you can specify the encoding in the XML directive, as
shown in the following example:
<?XML version="1.0" encoding="utf-8">
000_DW_API_Print.book Page 391 Wednesday, July 20, 2005 11:58 AM