beautypg.com

Snippets panel functions, Dreamweaver.updatepages() – Adobe Dreamweaver API Reference CS5 User Manual

Page 334

background image

329

DREAMWEAVER API REFERENCE

Page content

Last updated 8/27/2013

Description
Updates the document’s library items, templates, or both. This function is valid only for the active document.

Arguments
{typeOfUpdate}

The optional typeOfUpdate argument must be

"library"

,

"template"

, or

"both"

. If you omit the argument, the

default is

"both"

.

Returns
Nothing.

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