home *** CD-ROM | disk | FTP | other *** search
/ PC World 2001 April / PCWorld_2001-04_cd.bin / Komunik / Amaya / WinNT2000 / amaya-WindowsNT-4.3.exe / _SETUP.1 / Attributes.html < prev    next >
Encoding:
Extensible Markup Language  |  2001-02-22  |  4.3 KB  |  98 lines

  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  3.     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head>
  6.   <title>Editing Attributes</title>
  7.   <meta name="GENERATOR" content="amaya V4.2.2" />
  8.   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  9. </head>
  10.  
  11. <body xml:lang="en" lang="en">
  12.  
  13. <table border="0" width="100%" summary="toc">
  14.   <tbody>
  15.     <tr>
  16.       <td><p><img border="0" alt="W3C" src="../../Icons/WWW/w3c_home" /> <img
  17.         border="0" alt="Amaya" src="../Icons/amaya.gif" /></p>
  18.       </td>
  19.       <td><p align="right"><a href="StyleSheets.html" accesskey="p"><img
  20.         alt="previous" border="0" src="../Icons/left.gif" /></a> <a
  21.         href="Manual.html" accesskey="t"><img alt="top" border="0"
  22.         src="../Icons/up.gif" /></a> <a href="SpellChecking.html"
  23.         accesskey="n"><img alt="next" border="0" src="../Icons/right.gif"
  24.         /></a></p>
  25.       </td>
  26.     </tr>
  27.   </tbody>
  28. </table>
  29.  
  30. <div id="Attributes">
  31. <h2>Editing attributes</h2>
  32.  
  33. <p>There are two ways to edit attributes:</p>
  34. <ul>
  35.   <li>the <strong>Attribute</strong> menu,</li>
  36.   <li>the Structure view.</li>
  37. </ul>
  38.  
  39. <h3><a name="L1073">Editing attributes through the menu Attributes</a></h3>
  40.  
  41. <p>The <strong>Attribute</strong> menu lists all attributes that can be
  42. associated with the selected element. It can be used to create an attribute,
  43. to change the value of an existing attribute or to delete an attribute.</p>
  44.  
  45. <p>To edit an attribute, first select the appropriate element. You must select
  46. the entire element, not simply a character within the element; use the <a
  47. href="Selecting.html#Selecting1">Esc key (on Unix platforms) or F2 key (on
  48. Windows platforms)</a> for this. When the element is selected, choose the
  49. attribute to be edited from the <strong>Attributes</strong> menu. Then
  50. <strong>Amaya</strong> acts according to the chosen attribute:</p>
  51. <ul>
  52.   <li>If it is a boolean attribute (such as <code>ismap</code> for an image),
  53.     the command is finished. Choosing that attribute in the menu removes it
  54.     from the selected element, if it is present, or adds it if not.</li>
  55.   <li>If it is an attribute with a limited set of values (such as
  56.     <code>align</code> for a paragraph or a heading), a dialog box pops up. It
  57.     contains a menu of the available values and three buttons. 
  58.     <ul>
  59.       <li>If you want to create this attribute or to change its value, choose
  60.         the desired value from the menu and click on the
  61.         <strong>Apply</strong> button.</li>
  62.       <li>If you want to remove that attribute, click on the
  63.         <strong>Delete</strong> button.</li>
  64.     </ul>
  65.   </li>
  66.   <li>If it is an attribute with a free value (such as <code>href</code> for
  67.     an anchor), a dialog box pops up. In this dialog box, you can edit the
  68.     attribute value; terminate the command with the <strong>Apply</strong>
  69.     button. To remove the attribute, click on the <strong>Delete</strong>
  70.     button.</li>
  71. </ul>
  72.  
  73. <h3><a name="Copying">Copying attributes</a></h3>
  74.  
  75. <p>An attribute is not the same thing than an element and an attribute cannot
  76. be copied by Copy/Paste commands. To copy an attribute you need to use the
  77. Attribute menu. First you have to select the element which has the attribute
  78. you want to copy. You select the appropriate attribute entry in the menu
  79. Attributes. Then you select the new element to which you want to associate the
  80. current attribute and click on the <strong>Apply</strong> button.</p>
  81.  
  82. <h3><a name="Editing">Editing attributes in the Structure view</a></h3>
  83.  
  84. <p>All attributes are displayed in the Structure view. Attributes whose value
  85. can be chosen freely are displayed in black and you can edit their value like
  86. any other character string. When the attribute value is displayed in blue, you
  87. can only change it with the <strong>Attribute</strong> menu. This ensures that
  88. only one of the correct values is chosen.</p>
  89. </div>
  90.  
  91. <p align="right"><a href="StyleSheets.html"><img alt="previous" border="0"
  92. src="../Icons/left.gif" /></a> <a href="Manual.html"><img alt="top" border="0"
  93. src="../Icons/up.gif" /></a> <a href="SpellChecking.html"><img alt="next"
  94. border="0" src="../Icons/right.gif" /></a></p>
  95. <hr />
  96. </body>
  97. </html>
  98.