CSS functions
351
dreamweaver.cssStylePalette.getSelectedTarget() (deprecated
)
Availability
Dreamweaver 3; deprecated in Dreamweaver MX because there is no longer an Apply To Menu in
the CSS Styles panel.
Description
This function gets the selected element in the Apply To pop-up menu at the top of the CSS Styles
panel.
Arguments
None.
Returns
A deprecated function; always returns a
null
value.
dreamweaver.cssStylePalette.getStyles()
Availability
Dreamweaver 3.
Description
Gets a list of all the class styles in the active document.
Arguments
None.
Returns
An array of strings that represent the names of all the class styles in the document.
Example
If the CSS Styles panel is set up as shown in the following figure, a call to the
dreamweaver.cssStylePalette.getStyles()
function returns an array that contains these
strings:
"BreadcrumbEnd"
,
"change"
,
"doctitle"
,
"heading"
, and
"highlight"
:
000_DW_API_Print.book Page 351 Wednesday, August 20, 2003 9:14 AM
Summary of Contents for DREAMWEAVER MX 2004-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 24: ...24 Contents...
Page 32: ......
Page 70: ...70 Chapter 5 Fireworks Integration...
Page 76: ...76 Chapter 6 Flash Integration...
Page 116: ...116 Chapter 9 The JavaBeans API...
Page 140: ......
Page 152: ...152 Chapter 11 Application...
Page 218: ...218 Chapter 12 Workspace...
Page 248: ...248 Chapter 13 Site...
Page 292: ...292 Chapter 14 Document...
Page 378: ...378 Chapter 17 Design...
Page 430: ...430 Chapter 18 Code...
Page 486: ...486 Index...