424
Design
dom.removeCSSStyle()
Availability
Dreamweaver 3.
Description
Removes the
CLASS
or
ID
attribute from the specified element, or removes the
SPAN
tag that
completely surrounds the specified element. This function is valid only for the active
document.
Arguments
elementNode, {classOrID}
■
The
elementNode
argument is an element node in the DOM. If the
elementNode
argument is specified as an empty string (" "), the function acts on the current selection.
■
The
classOrID
argument, which is optional, is the attribute that should be removed
(either
"class"
or
"id"
). If the
classOrID
argument is not specified, it defaults to
"class"
. If no
CLASS
attribute is defined for the
elementNode
argument, the
SPAN
tag
that surrounds the
elementNode
argument is removed.
Returns
Nothing.
dom.resetAllElementViews()
Availability
Dreamweaver 8.
Description
This function resets the Element view of all elements in the document to the original view by
removing all internally generated CSS.
Arguments
forceRefresh
■
The
forceRefresh
argument, which is optional, is a Boolean value that specifies whether
to refresh the rendering of the entire document when there is no internal CSS to remove.
A value of
true
causes the refresh. The default value is
false
.
Returns
Nothing.
000_DW_API_Print.book Page 424 Wednesday, July 20, 2005 11:58 AM
Summary of Contents for DREAMWEAVER 8-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 16: ......
Page 28: ...28 The File I O API...
Page 38: ...38 The HTTP API...
Page 68: ...68 Flash Integration...
Page 100: ...100 The Database API...
Page 116: ...116 The JavaBeans API...
Page 144: ...144 The Source Control Integration API...
Page 146: ......
Page 254: ...254 Workspace...
Page 298: ...298 Site...
Page 354: ...354 Document...
Page 396: ...396 Page Content...
Page 488: ...488 Design...
Page 550: ...550 Code...