User Guide

598
ADOBE GOLIVE CS2
User Guide
See also
Collections” on page 435
Editing elements in multiple files with the Find Code Elements dialog box
In addition to simply finding elements, you can manipulate elements in a variety of ways by using these commands
on the pop-up menu in the middle Change section:
Keep Keeps the element and sets, updates, or deletes its attribute.
Rename Renames the element, but keeps the elements contents. You can keep the elements attributes or change
them with an Attribute action.
Delete With Content Deletes the element completely, including its start and end tags as well as its contents.
Replace By Its Content Deletes only the elements start and end tags, leaving its contents untouched.
Delete Content Only Deletes only the contents of the element, leaving its start and end tags in place.
Replace Content Replaces only the contents of the element, leaving its start and end tags in place. This command
works on plain text contents only—for example, text that has a style applied to it, such as bold, is not affected by this
command.
To modify an existing element
1 Define the search criteria and scope of the search. (See “Locating elements with the Find Code Elements dialog
box” on page 596.)
2 In the Change section of the Find Code Elements dialog box, choose Keep from the Element menu.
3 In the Change section, choose an attribute from the Attribute menu, or type an attribute in the text box.
4 Choose one of the following options from the pop-up menu to the right of the Attribute menu:
Set To Sets the specified attribute and value for the element whether or not the attribute already exists.
Update To Updates the attribute only if it already exists in the specified element. It does not add the attribute.
Remove Removes the attribute and its value wherever it appears.
5 Choose an attribute value or type a value in the third Attribute text box.
6 To add another change attribute, click the Add Attribute button and then specify another attribute, operator,
and attribute value.
7 Click Apply To All to begin the search and carry out the specified action.
You can also create multiple Attribute actions to be performed during a Keep Element action. Click the Add Attribute
button
and follow the steps outlined here before you click Apply To All. GoLive performs each Attribute action
defined in the Change section. You can remove an Attribute action by selecting it in the list and clicking the Remove
Attribute button.