MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Reference page 421

Dreamweaver api reference
Table of Contents

Advertisement

The
argument is the name of a CSS style.
styleName
The
argument, which is optional, is the attribute with which the style should
classOrID
be applied (either
empty string and no tag exactly surrounds the selection, the style is applied using
tags. If the selection is an insertion point, Dreamweaver uses heuristics to determine to
which tag the style should be applied.
The
bForceNesting
whether nesting is allowed. If the
new
tag instead of trying to modify the existing tags in the document. This
SPAN
argument defaults to a
Returns
Nothing.
Example
The following code applies the
with
tags or by applying a
SPAN
var theDOM = dreamweaver.getDocumentDOM('document');
theDOM.applyCSSStyle('','red');
dom.getElementView()
Availability
Dreamweaver 8.
Description
This function gets the Element view for the currently selected element in the document. If the
currently selected element is normal, the
element's first ancestor that is either full or hidden.
Arguments
None.
Returns
A string that indicates the status of the selected element. Values include:
, which indicates that the element has CSS properties that may cause content to
"hidden"
be partially or completely hidden in Design view. Supported CSS properties include:
overflow: hidden, scroll, or auto
display: none
or
). If the
"class"
"id"
argument, which is optional, is a Boolean value, which indicates
bForceNesting
value if it is not specified.
false
style to the selection, either by surrounding the selection
red
attribute to the tag that surrounds the selection:
CLASS
getElementView()
argument is a
elementNode
flag is specified, Dreamweaver inserts a
function looks for the selected
value or an
null
SPAN
CSS functions
421

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Dreamweaver 8

Table of Contents