Adobe 38040334 - Dreamweaver CS3 User Manual page 458

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

Returns
A Boolean value:
if there is an active Design view;
true
dreamweaver.cssRuleTracker.canEditSelectedRule()
Availability
Dreamweaver MX 2004.
Description
Checks whether the Property Grid editor can be applied to the selected rule. Because the Property Grid can display
rules in locked files, a return value of
Arguments
None.
Returns
A Boolean value:
if the Property Grid editor can be applied to the selected rule;
true
Example
The following code checks whether the enabler function has been set to the value
selected rule:
if(dw.cssRuleTracker.canEditSelectedRule()){
dw.cssRuleTracker.editSelectedRule();
}
dreamweaver.cssStylePalette.canApplySelectedStyle()
Availability
Dreamweaver MX.
Description
Checks the current active document to see whether the selected style can be applied.
Arguments
{ pane }
• The
argument, which is optional, is a string that specifies the pane of the Styles Panel to which this function
pane
applies. Possible values are
applicable, relevant rules in "Current" mode;
in "Current" mode; and
default value is
"stylelist"
Returns
A Boolean value:
if the selected style has a class selector;
true
does not guarantee that the rule can be modified.
true
, which is the list of styles in "All" mode;
"stylelist"
"summary"
, which is the editable list or grid of properties in "Current" mode. The
"ruleInspector"
.
otherwise.
false
true
, which is the list of properties for the current selection
otherwise.
false
DREAMWEAVER CS3
API Reference
otherwise.
false
before allowing edits to the
, which is the list of
"cascade"
453

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents