345
CHAPTER 17
Design
The Design functions in Macromedia Dreamweaver MX 2004 perform operations related to
designing the appearance of a document. These operations include functions that apply a
specified cascading style sheet (CSS) style, split a selected frame vertically or horizontally, align
selected layers or hotspots, play a selected plug-in item, create a layout cell, or manipulate table
rows or columns.
CSS functions
CSS functions handle applying, removing, creating, and deleting CSS styles. Methods of the
dreamweaver.cssRuleTracker
object either control or act on the selection in the CSS rule
tracker panel of the Selection inspector. Methods of the
dreamweaver.cssStylePalette
object
either control or act on the selection in the CSS Styles panel, not in the current document.
dom.applyCSSStyle()
Availability
Dreamweaver 4.
Description
Applies the specified style to the specified element. This function is valid only for the active
document.
Arguments
elementNode
,
styleName
,
{classOrID}
,
{bForceNesting}
•
The
elementNode
argument is an element node in the DOM. If the
elementNode
argument is
a
null
value or an empty string (
""
), the function acts on the current selection.
•
The
styleName
argument is the name of a CSS style.
000_DW_API_Print.book Page 345 Wednesday, August 20, 2003 9:14 AM
Содержание DREAMWEAVER MX 2004
Страница 1: ...Dreamweaver API Reference...
Страница 24: ...24 Contents...
Страница 32: ......
Страница 70: ...70 Chapter 5 Fireworks Integration...
Страница 76: ...76 Chapter 6 Flash Integration...
Страница 116: ...116 Chapter 9 The JavaBeans API...
Страница 140: ......
Страница 152: ...152 Chapter 11 Application...
Страница 218: ...218 Chapter 12 Workspace...
Страница 248: ...248 Chapter 13 Site...
Страница 292: ...292 Chapter 14 Document...
Страница 378: ...378 Chapter 17 Design...
Страница 430: ...430 Chapter 18 Code...
Страница 486: ...486 Index...