Specifications

Chapter 31404
Arguments
elementNode, {classOrID}
elementNode is an element node in the DOM. If elementNode is specified as an empty string
(" "), the function acts on the current selection.
classOrID is the attribute that should be removed (either "class" or "id"). If classOrID is
not specified, it defaults to
"class". If no CLASS attribute is defined for elementNode, then
the
SPAN tag surrounding elementNode is removed.
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 CSS Styles panel.
Arguments
None.
Returns
Nothing.
Enabler
“dreamweaver.cssStylePalette.canApplySelectedStyle()” on page 424
dreamweaver.cssStylePalette.attachStyleSheet()
Availability
Dreamweaver 4
Description
Displays a dialog box that lets users attach a style sheet to the current active document or to one
of its attached style sheets, depending on the selection in the CSS Styles panel.
Arguments
None.
Returns
Nothing.