Operation Manual

311
USING DREAMWEAVER
Working with page code
Last updated 3/28/2012
Note: The Tag inspector and the Property inspector both let you view and edit a tag’s attributes. The Tag inspector lets
you to view and edit every attribute associated with a given tag. The Property inspector shows only the most common
attributes, but provides a richer set of controls for changing those attributes’ values, and lets you edit certain objects (such
as table columns) that don’t correspond to specific tags.
1 Click in the text or select an object on the page.
The Property inspector for the text or object appears below the Document window. If the Property inspector is not
visible, select Window
> Properties.
2 Make changes to the attributes in the Property inspector.
Edit CFML with the Property inspector
Use the Property inspector to inspect and modify ColdFusion markup in Design view.
1 In the Property inspector, click the Attributes button to edit the tag’s attributes or to add new ones.
2 If the tag holds content between its opening and closing tags, click the Content button to edit the content.
The Content button appears only if the selected tag is not an empty tag (that is, if it has both an opening and a closing tag).
3 If the tag contains a conditional expression, make changes to it in the Expression box.
Change attributes with the Tag inspector
Use the Tag inspector to edit or add attributes and attributes’ values. The Tag inspector lets you edit tags and objects
by using a property sheet similar to the ones found in other integrated development environments (IDEs).
1 Do one of the following in the Document window:
In Code view (or the Code inspector), click anywhere in a tag’s name or in its contents.
In Design view, select an object, or select a tag in the Tag Selector.
2 Open the Tag inspector (Window > Tag Inspector), and select the Attributes tab.
The selection’s attributes and their current values appear in the Tag inspector.
3 Do any of the following in the Tag inspector:
To view the attributes organized by category, click the Show Category View button .
To view the attributes in an alphabetical list, click the Show List View button .
To change the attribute’s value, select the value and edit it.
To add a value for an attribute with no value, click in the attribute-value column to the right of the attribute and
add a value.
If the attribute takes pre-defined values, select a value from the pop-up menu (or the color picker) to the right of
the attribute-value column.
If the attribute takes a URL value, click the Browse button or use the Point-To-File icon to select a file, or type the
URL in the box.
If the attribute takes a value from a source of dynamic content (such as a database), click the Dynamic Data button
to the right of the attribute-value column. Then select a source.
To delete the attribute’s value, select the value and press Backspace (Windows) or Delete (Macintosh).
To change the name of an attribute, select the attribute name and edit it.