User Guide
410 Chapter 18: Code
dom.isDesignviewUpdated()
Availability
Dreamweaver 4.
Description
Determines whether the Design view and Text view content is synchronized for those
Dreamweaver operations that require a valid document state.
Arguments
None.
Returns
A Boolean value: true if the Design view (WYSIWYG) is synchronized with the text in the Text
view;
false otherwise.
dom.isSelectionValid()
Availability
Dreamweaver 4.
Description
Determines whether a selection is valid, meaning it is currently synchronized with the Design
view, or if it needs to be moved before an operation occurs.
Arguments
None.
Returns
A Boolean value: true if the current selection is in a valid piece of code; false if the document
has not been synchronized, because the selection is not updated.
dom.setShowNoscript
Availability
Dreamweaver MX.
Description
Sets the noscript content option on or off (the same as selecting the View > Noscript Content
option). On by default, the
noscript tag identifies page script content that can be rendered, or
not (by choice), in the browser.
Arguments
{bShowNoscript}
• The bShowNoscript argument, which is optional, is a Boolean value that indicates whether
the noscript tag content should be rendered; true if the noscript tag content should be
rendered,
false otherwise.
000_DW_API_Print.book Page 410 Wednesday, August 20, 2003 9:14 AM