Example
The following example resets the Element view of all elements in the document without
forcing a refresh of the rendering:
var currentDOM = dw.getDocumentDOM();
currentDOM.resetAllElementViews(false);
dom.setElementView()
Availability
Dreamweaver 8.
Description
This function sets the Element view for the currently selected element in the document. If the
currently selected element is
ancestor of the currently selected element that is
Arguments
view
The
argument, which is required, is a string that sets the currently selected element
view
to
or
"full"
"hidden"
setElementView()
either
or
"full"
on page
421. Possible values are:
— Removes the internal CSS that put the element in
"full"
element returns to its original state.
— If the currently selected element is in "hidden" view, Dreamweaver
"hidden"
generates the CSS to cause all content to be viewed and then applies the CSS as an
internal design time style sheet.
Returns
Nothing.
Example
See
"dom.getElementView()" on page
, the
"normal"
. If the currently selected element, is
function looks for the currently selected element's first ancestor that is
. For additional information, see
"hidden"
421.
function looks for the first
setElementView()
or
"full"
"hidden"
"normal"
"dom.getElementView()"
.
, the
view, so that the
"full"
CSS functions
425
Need help?
Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?