home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 May / Gamestar_73_2005-05_dvd.iso / Programy / amaya / amaya-WinXP-9.1.exe / doc / WX / Attributes.html < prev    next >
Encoding:
Extensible Markup Language  |  2005-02-23  |  5.9 KB  |  156 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.   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  7.   <title>Editing Attributes</title>
  8.   <style type="text/css">
  9.  
  10.   </style>
  11.   <link href="style.css" rel="stylesheet" type="text/css" />
  12. </head>
  13.  
  14. <body xml:lang="en" lang="en">
  15.  
  16. <div>
  17. <img alt="Amaya" src="../../resources/icons/22x22/logo.png" class="logo" />
  18.  
  19. <p class="nav"><a href="Creating.html" accesskey="p"><img alt="previous"
  20. src="../../resources/icons/misc/left.png" /></a> <a href="Manual.html"
  21. accesskey="t"><img alt="top" src="../../resources/icons/misc/up.png" /></a>
  22. <a href="EditChar.html" accesskey="n"><img alt="next"
  23. src="../../resources/icons/misc/right.png" /></a></p>
  24. </div>
  25.  
  26. <div class="toc">
  27. <ul>
  28.   <li><a href="#Editing">Editing Attributes</a>
  29.     <ul>
  30.       <li><a href="#Editing1">Editing Attributes Through the Attributes
  31.         Tool</a></li>
  32.       <li><a href="#Editing2">Editing Attributes in the Structure
  33.       View</a></li>
  34.       <li><a href="#Copying">Copying Attributes</a></li>
  35.     </ul>
  36.   </li>
  37. </ul>
  38. </div>
  39.  
  40. <div id="page_body">
  41. <h2 id="Editing">Editing Attributes</h2>
  42.  
  43. <p>You can edit attributes in two ways:</p>
  44. <ul>
  45.   <li>Using the <span class="Link0"><strong>Attributes</strong>
  46.   tool.</span></li>
  47.   <li>Directly in the <span class="Link0">Structure view.</span></li>
  48. </ul>
  49.  
  50. <h3 id="Editing1">Editing Attributes Through the Attributes Tool</h3>
  51.  
  52. <p>The <strong>Attributes</strong> tool displays all attributes that can be
  53. associated with the selected element. It can be used to create an attribute,
  54. change the value of an existing attribute, or delete an attribute.</p>
  55.  
  56. <p class="ProcedureCaption">To create an attribute:</p>
  57. <ol>
  58.   <li>Click within the element and press the <code>F2</code> key to select
  59.     the whole element.</li>
  60.   <li>When the element is selected, you click on the [รก] before the name of
  61.     the attribute you want to add. This attribute is now activated [x].</li>
  62.   <li>For boolean attributes (such as <strong>ismap</strong> for an image),
  63.     the command is finished.</li>
  64.   <li>For other attributes you have to edit the value, then confirm with the
  65.     apply button (<img alt="ok" src="../../resources/icons/16x16/ok.png"
  66.   />).</li>
  67. </ol>
  68.  
  69. <p class="ProcedureCaption">To edit an attribute:</p>
  70. <ol>
  71.   <li>Click within the element and press the <code>F2</code> key to select
  72.     the whole element.</li>
  73.   <li>Once the element is selected with this active attribute (the name is
  74.     preceded by a [x]), click on the entry name to display its current
  75.   value.</li>
  76.   <li>For attributes with a limited set of values (such as
  77.     <strong>align</strong> for a paragraph or a heading), Amaya displays:
  78.     <ul>
  79.       <li>A set of radio buttons proposing the list of possible values. A
  80.         long list (such as <strong>lang</strong>) is presented with a combo
  81.         box.</li>
  82.       <li>An apply button (<img alt="ok"
  83.         src="../../resources/icons/16x16/ok.png" />) to confirm the selected
  84.         value.</li>
  85.       <li>A trash button (<img alt="trash"
  86.         src="../../resources/icons/16x16/trash.png" />) to remove the
  87.         attribute.</li>
  88.     </ul>
  89.   </li>
  90.   <li>For attributes with a free value (such as <strong>href</strong> for an
  91.     anchor), Amaya displays: style=""
  92.     <ul>
  93.       <li>An input box to insert the value.</li>
  94.       <li>An apply button (<img alt="ok"
  95.         src="../../resources/icons/16x16/ok.png" />) to confirm the inserted
  96.         value.</li>
  97.       <li>A trash button (<img alt="trash"
  98.         src="../../resources/icons/16x16/trash.png" />) to remove the
  99.         attribute.</li>
  100.     </ul>
  101.   </li>
  102. </ol>
  103.  
  104. <p class="ProcedureCaption">To remove an attribute:</p>
  105. <ol>
  106.   <li>Click within the element and press the <code>F2</code> key to select
  107.     the whole element.</li>
  108.   <li>When the element is selected, you click on the [x] before the entry to
  109.     remove the attribute.</li>
  110.   <li>You can also select the attribute and click on the trash button (<img
  111.     alt="trash" src="../../resources/icons/16x16/trash.png" />).</li>
  112. </ol>
  113.  
  114. <h3 id="Editing2">Editing Attributes in the Structure View</h3>
  115.  
  116. <p>All attributes are displayed in the Structure view. Attributes may be
  117. displayed in blue or pink. When the attribute value is displayed in blue, you
  118. can only change it with the <strong>Attributes</strong> tool. This ensures
  119. that only one of the correct values is chosen.</p>
  120.  
  121. <p>Attributes with a free value can be edited in the Structure View.</p>
  122. <ul>
  123.   <li>You can click within the attribute value (displayed in pink) and edit
  124.     the value like any other character string.</li>
  125.   <li>To select the whole value, you can click within the value then hit the
  126.     <code>F2</code> key.</li>
  127.   <li>To remove the attribute, you can select the whole value, then press the
  128.     <code>Delete</code> key twice. The first <code>Delete</code> will remove
  129.     the attribute content and the second will remove the attribute.</li>
  130. </ul>
  131.  
  132. <h3 id="Copying">Copying Attributes</h3>
  133.  
  134. <p>An attribute is not the same thing as element and an attribute cannot be
  135. copied by the <strong>Copy</strong>/<strong>Paste</strong> options on the
  136. <strong>Edit</strong> menu.</p>
  137.  
  138. <p>To copy an attribute, you must use the <strong>Attributes</strong>
  139. tool:</p>
  140. <ol>
  141.   <li>Select the element with the attribute you want to copy.</li>
  142.   <li>Select the appropriate attribute entry from the
  143.     <strong>Attributes</strong> tool.</li>
  144.   <li>The select the new element to which you want to associate the current
  145.     attribute.</li>
  146.   <li>Click the apply button (<img alt="ok"
  147.     src="../../resources/icons/16x16/ok.png" />).</li>
  148. </ol>
  149.  
  150. <p></p>
  151.  
  152. <p></p>
  153. </div>
  154. </body>
  155. </html>
  156.