|
There are two ways to edit attributes:
The Attribute menu lists all attributes that can be associated with the selected element. It can be used to create an attribute, to change the value of an existing attribute or to delete an attribute.
To edit an attribute, first select the appropriate element. You must select the entire element, not simply a character within the element; use the Esc key (on Unix platforms) or F2 key (on Windows platforms) for this. When the element is selected, choose the attribute to be edited from the Attributes menu. Then Amaya acts according to the chosen attribute:
ismap
for an image),
the command is finished. Choosing that attribute in the menu removes it
from the selected element, if it is present, or adds it if not.align
for a paragraph or a heading), a dialog box pops up. It
contains a menu of the available values and three buttons.
href
for
an anchor), a dialog box pops up. In this dialog box, you can edit the
attribute value; terminate the command with the Apply
button. To remove the attribute, click on the Delete
button.An attribute is not the same thing than an element and an attribute cannot be copied by Copy/Paste commands. To copy an attribute you need to use the Attribute menu. First you have to select the element which has the attribute you want to copy. You select the appropriate attribute entry in the menu Attributes. Then you select the new element to which you want to associate the current attribute and click on the Apply button.
All attributes are displayed in the Structure view. Attributes whose value can be chosen freely are displayed in black and you can edit their value like any other character string. When the attribute value is displayed in blue, you can only change it with the Attribute menu. This ensures that only one of the correct values is chosen.