Dreamweaver.cssstylepalette.attachstylesheet(), Dreamweaver.cssstylepalette.deleteselectedstyle() – Adobe Dreamweaver API Reference CS5 User Manual
Page 394
389
DREAMWEAVER API REFERENCE
Design
Last updated 8/27/2013
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.canApplySelectedStyle()
dreamweaver.cssStylePalette.attachStyleSheet()
Availability
Dreamweaver 4.
Description
Displays a dialog box that lets users attach a style sheet to the current active document or to one of its attached style
sheets, depending on the selection in the Styles panel.
Arguments
None.
Returns
Nothing.
dreamweaver.cssStylePalette.deleteSelectedStyle()
Availability
Dreamweaver 3.
Description
Deletes the style that is currently selected in the Styles panel from the document.
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"
.