Adobe GOLIVE CS2 User Manual page 607

Hide thumbs Also See for GOLIVE CS2:
Table of Contents

Advertisement

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:
Keeps the element and sets, updates, or deletes its attribute.
Keep
Renames the element, but keeps the element's contents. You can keep the element's attributes or change
Rename
them with an Attribute action.
Delete With Content
Deletes the element completely, including its start and end tags as well as its contents.
Deletes only the element's start and end tags, leaving its contents untouched.
Replace By Its Content
Deletes only the contents of the element, leaving its start and end tags in place.
Delete Content Only
Replaces only the contents of the element, leaving its start and end tags in place. This command
Replace Content
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
Define the search criteria and scope of the search. (See "Locating elements with the Find Code Elements dialog
1
box" on page 596.)
In the Change section of the Find Code Elements dialog box, choose Keep from the Element menu.
2
In the Change section, choose an attribute from the Attribute menu, or type an attribute in the text box.
3
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.
Removes the attribute and its value wherever it appears.
Remove
5
Choose an attribute value or type a value in the third Attribute text box.
To add another change attribute, click the Add Attribute button
6
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.
and then specify another attribute, operator,
ADOBE GOLIVE CS2
598
User Guide

Advertisement

Table of Contents
loading

Table of Contents