beautypg.com

Dreamweaver.referencepalette.getfontsize(), Dreamweaver.referencepalette.setfontsize(), Behavior functions – Adobe Dreamweaver API Reference CS5 User Manual

Page 316

background image

311

DREAMWEAVER API REFERENCE

Page content

Last updated 8/27/2013

Arguments
viewType

The viewType argument is a string that can be

"site"

or

"favorites"

.

Returns
Nothing.

dreamweaver.referencePalette.getFontSize()

Availability
Dreamweaver 4.

Description
Returns the current font size of the Reference panel display region.

Arguments
None.

Returns
The relative font size as

small

,

medium

, or

large

.

dreamweaver.referencePalette.setFontSize()

Availability
Dreamweaver 4.

Description
Changes the font size that appears in the Reference panel.

Arguments
fontSize

The fontSize argument is one of the following relative sizes:

small

,

medium

, or

large

.

Returns
Nothing.

Behavior functions

Behavior functions let you add behaviors to, and remove them from, an object, find out which behaviors are attached
to an object, get information about the object to which a behavior is attached, and so on. Methods of the

dreamweaver.behaviorInspector

object either control or act on only the selection in the Behaviors panel, not the

selection in the current document.