User Guide

428 Design
dreamweaver.cssRuleTracker.newRule()
Availability
Dreamweaver MX 2004.
Description
Opens the New CSS Style dialog box, so the user can create a new rule.
Arguments
None.
Returns
Nothing.
dreamweaver.cssStylePalette.applySelectedStyle()
Availability
Dreamweaver MX.
Description
Applies the selected style to the current active document or to its attached style sheet,
depending on the selection 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.canApplySelectedStyle()” on page 575.
000_DW_API_Print.book Page 428 Wednesday, July 20, 2005 11:58 AM