beautypg.com

Dreamweaver.deletealldisabled(), Dreamweaver.enablealldisabled(), Dreamweaver.candisableselectedstyle() – Adobe Dreamweaver API Reference CS5 User Manual

Page 405

background image

400

DREAMWEAVER API REFERENCE

Design

Last updated 8/27/2013

dreamweaver.deleteAllDisabled()

Availability
Dreamweaver CS5.

Description
This function deletes all disabled declarations in the selected CSS rule.

Arguments
None.

Returns
None.

dreamweaver.enableAllDisabled()

Availability
Dreamweaver CS5.

Description
This function enables all the disabled declarations in the selected CSS rule.

Arguments
None.

Returns
None.

dreamweaver.canDisableSelectedStyle()

Availability
Dreamweaver CS5.

Description
This function checks the current selection to determine whether the selected style can be disabled.

Arguments
pane. A string that represents the pane. This argument is optional. The possible values are:

styleList

- All Rules pane in All mode. This is the default value.

summary

- The Summary pane in the Current mode.

cascade

- The Rules pane in the Current mode.

ruleInspector

- The Properties pane in All mode or Current mode.

For more information on the modes of the CSS Styles panel, see CSS Styles panel.