beautypg.com

Dreamweaver.cssstylepalette.editstylesheet() – Adobe Dreamweaver API Reference CS5 User Manual

Page 396

background image

391

DREAMWEAVER API REFERENCE

Design

Last updated 8/27/2013

Returns
Nothing.

Enabler
See “

dreamweaver.cssStylePalette.canEditSelectedStyle()

” on page 512.

dreamweaver.cssStylePalette.editSelectedStyleInCodeview()

Availability
Dreamweaver 8.

Description
This function switches to Code view and moves the mouse pointer to the code for the style that is currently selected in
the Styles panel.

Arguments
{pane}

The pane argument, which is optional, is a string that specifies the pane of the Styles panel to which this function
applies. Possible values are

"stylelist"

, which is the list of styles in “All” mode;

"cascade"

, which is the list of

applicable, relevant rules in “Current” mode;

"summary"

, which is the list of properties for the current selection in

“Current” mode; and

"ruleInspector"

, which is the editable list or grid of properties in “Current” mode. The

default value is

"stylelist"

.

Returns
Nothing.

Enabler
See “

dreamweaver.cssStylePalette.canEditSelectedStyleInCodeview()

” on page 513.

dreamweaver.cssStylePalette.editStyleSheet()

Availability
Dreamweaver 3.

Description
Opens the Edit Style Sheet dialog box.

Arguments
None.

Returns
Nothing.

Enabler
See “

dreamweaver.cssStylePalette.canEditStyleSheet()

” on page 513.