User Guide
430 Design
dreamweaver.cssStylePalette.duplicateSelectedStyle()
Availability
Dreamweaver 3.
Description
Duplicates the style that is currently selected in the Styles panel and displays the Duplicate
Style dialog box to let the user assign a name or selector to the new style.
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.canDuplicateSelectedStyle()” on page 576.
dreamweaver.cssStylePalette.editSelectedStyle()
Availability
Dreamweaver 3.
Description
Opens the Style Definition dialog box for the style that is currently selected in the Styles
panel.
000_DW_API_Print.book Page 430 Wednesday, July 20, 2005 11:58 AM