This comment has the following elements:
The
serverModel
inspector only when the server model specified is active.
The
tagNameOrKeyword
keywords:
*COMMENT*
tags).
The
element is the priority of the Property inspector file:
1to10
inspector should be used only when no others can inspect the selection;
this inspector takes precedence over all others that can inspect the selection.
The
exactOrWithin
(
) or must exactly contain the tag (
within
The
element (optional) indicates that a horizontal gray line should appear between
hline
the upper and lower halves of the inspector in expanded mode.
The
element (optional) indicates that a vertical gray line should appear between the
vline
tag name field and the rest of the properties in the inspector.
The
serverModel
If the server model of the Property inspector is not the same as the server model for the
document, Dreamweaver does not use the Property inspector to display the properties of
the current selection. For example, if the server model of the document is Macromedia
ColdFusion, but the server model of the Property inspector is ASP, Dreamweaver does not
use that Property inspector for selections in the document.
The following comment is appropriate for an inspector that is designed to inspect the
tag:
<!-- tag:HAPPY, priority:8,selection:exact,hline,vline, ¬
serverModel:ASP -->
In some cases, you might want to specify that your extension use only Dreamweaver extension
rendering (and not the previous rendering engine) by inserting the following line immediately
before the tag comment, as shown in the following example:
<!--DOCTYPE HTML SYSTEM "-//Macromedia//DWExtension layout-engine 5.0//pi"-
->
The
section of a Property inspector file contains an HTML form. Instead of displaying
BODY
the form contents in a dialog box, however, Dreamweaver uses the form to define the input
areas and layout of the Property inspector.
The
section of a Property inspector file contains JavaScript functions or a reference to
HEAD
the JavaScript file or files.
280
Property Inspectors
element specifies that Dreamweaver should load this Property
element is the tag to be inspected or one of the following
(for comments),
*LOCKED*
element indicates whether the selection can be within the tag
element (optional) indicates the server model of the Property inspector.
(for locked regions), or
).
exact
(for
*ASP*
ASP
indicates that this
1
indicates that
10
HAPPY
Need help?
Do you have a question about the DREAMWEAVER 8-EXTENDING DREAMWEAVER and is the answer not in the manual?