beautypg.com

Dreamweaver.cssruletracker.editselectedrule(), Dreamweaver.cssruletracker.newrule(), Dreamweaver.cssstylepalette.applyselectedstyle() – Adobe Dreamweaver API Reference CS5 User Manual

Page 393

background image

388

DREAMWEAVER API REFERENCE

Design

Last updated 8/27/2013

Returns
None.

dreamweaver.cssRuleTracker.editSelectedRule()

Availability
Dreamweaver MX 2004.

Description
Lets the user edit the currently selected rule in the rule tracker. This function displays the selected rule in the CSS
property grid, and if necessary, will show the property grid and its containing floater.

Arguments
None.

Returns
Nothing.

Enabler
See “

dreamweaver.cssRuleTracker.canEditSelectedRule()

” on page 511.

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.