DREAMWEAVER CS3
344
API Reference
dreamweaver.cssStylePalette.editStyleSheet()
Availability
Dreamweaver 3.
Description
Opens the Edit Style Sheet dialog box.
Arguments
None.
Returns
Nothing.
Enabler
See "dreamweaver.cssStylePalette.canEditStyleSheet()" on page 455.
dreamweaver.cssStylePalette.getDisplayStyles()
Availability
Dreamweaver 8.
Description
This function determines whether CSS styles are being rendered. The default value is
.
true
Arguments
None.
Returns
A Boolean value:
if CSS styles are being rendered;
otherwise.
true
false
Example
var areStylesRendered = dw.cssStylePalette.getDisplayStyles();
dreamweaver.cssStylePalette.getMediaType()
Availability
Dreamweaver MX 2004.
Description
Gets target media type for rendering. The default media type is
"screen".
Arguments
None.
Returns
A string value that specifies the target media type.
Example
var mediaType = dw.cssStylePalette.getMediaType();