Dom.hideinfomessagepopup(), Dom.runvalidation() – Adobe Dreamweaver API Reference CS5 User Manual
Page 270
265
DREAMWEAVER API REFERENCE
Document
Last updated 8/27/2013
Arguments
None.
Returns
A string that specifies the current parsing mode:
"html"
,
"xml"
,
"css"
, or
"text"
.
dom.hideInfoMessagePopup()
Availability
Dreamweaver MX 2004.
Description
Hides the tooltip-like message, if it is visible, for the document window.
Arguments
None.
Returns
Nothing.
See also
“
dom.runValidation()
Availability
Dreamweaver MX, optional arguments added in Dreamweaver MX 2004.
Description
Runs the Validator on a single specified document. The Validator checks the document for conformance with the
language specified in the document doctype (such as HTML 4.0 or HTML 3.2) and the language specified by the server
model (such as ColdFusion or ASP). If the document has no doctype, then the Validator uses the language setting
specified in the Validator section of the Preferences dialog box.
Arguments
{controlString}, {bOpenResultsWindow}, {bShowInfoMessage}
•
The controlString argument is an optional string with four possible values: an empty string,
"xml"
,
"auto-
explicit"
, or
"auto-implicit"
.
•
If the argument is an empty string, the Validator performs a default validation. If the argument is
"xml"
, the
Validator validates the document as XML.
•
If the argument is
"auto-explicit"
or
"auto-implicit"
, Dreamweaver performs an automatic validation
(also known as an inline validation), which underlines errors in the Code view instead of opening the Validation
results window (see “
dom.source.getValidationErrorsForOffset()
” on page 477 and