Adobe 38040334 - Dreamweaver CS3 User Manual page 421

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

Description
Applies Dreamweaver automatic syntax formatting to the selected content (the same as selecting the Commands >
Apply Source Formatting to Selection option) according to the settings in the Preferences > Code Format dialog box.
Arguments
None.
Returns
Nothing.
dom.getShowNoscript()
Availability
Dreamweaver MX.
Description
Gets the current state of the
default, the
tag identifies page script content that can be rendered, or not (by choice), in the browser.
noscript
Arguments
None.
Returns
A Boolean value:
if the
true
dom.getAutoValidationCount()
Availability
Dreamweaver MX 2004.
Description
Gets the number of errors, warnings, and information messages for the last auto-validation (also known as an inline
validation) of the document. Currently only a target-browser check is performed during auto-validation (see
"dom.runValidation()" on page 245).
Note: This function returns only the results that are currently in the results window for the document. If you want to
make sure that the counts are up-to-date, you can call
Arguments
None.
Returns
An object with the following properties:
• The
property, which is the number of errors
numError
• The
property, which is the number of warnings
numWarning
• The
property, which is the number of information messages
numInfo
content option (from the View > Noscript Content menu option). On by
noscript
tag content is currently rendered;
noscript
dom.runValidation()
otherwise.
false
before calling this function.
DREAMWEAVER CS3
416
API Reference

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents