aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/mozilla/tech/xul/attribute
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/zh-cn/mozilla/tech/xul/attribute
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/zh-cn/mozilla/tech/xul/attribute')
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/acceltext/index.html23
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/accesskey/index.html43
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/activetitlebarcolor/index.html19
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/align/index.html54
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/allowevents/index.html30
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/allownegativeassertions/index.html18
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/autocheck/index.html24
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/autoscroll/index.html12
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/buttonaccesskeyaccept/index.html20
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/buttonlabelextra1/index.html19
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/buttonlabelextra2/index.html19
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/buttons/index.html28
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/checked/index.html24
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/class/index.html23
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/coalesceduplicatearcs/index.html17
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/collapsed/index.html27
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/command/index.html30
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/container/index.html18
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/control/index.html23
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/crop/index.html37
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/description/index.html23
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/dir/index.html39
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/disabled/index.html38
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/flex/index.html23
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/href/index.html24
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/id/index.html41
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/image.onload/index.html12
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/image/index.html25
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/increment/index.html15
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/index.html304
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/label/index.html41
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/max/index.html20
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/menuitem.key/index.html23
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/menuitem.name/index.html38
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/menuitem.type/index.html28
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/min/index.html16
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/name/index.html16
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/onpopupshowing/index.html21
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/onpopupshown/index.html21
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/orient/index.html16
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/pending/index.html15
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/persist/index.html24
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/selected/index.html28
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/selectedindex/index.html15
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/tabindex/index.html18
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/validate/index.html27
-rw-r--r--files/zh-cn/mozilla/tech/xul/attribute/value/index.html30
47 files changed, 1449 insertions, 0 deletions
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/acceltext/index.html b/files/zh-cn/mozilla/tech/xul/attribute/acceltext/index.html
new file mode 100644
index 0000000000..77bc1dccbe
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/acceltext/index.html
@@ -0,0 +1,23 @@
+---
+title: acceltext
+slug: Mozilla/Tech/XUL/Attribute/acceltext
+tags:
+ - XUL Attributes
+translation_of: Archive/Mozilla/XUL/Attribute/acceltext
+---
+<div class="noinclude">
+ <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+<dl>
+ <dt>
+ <code id="a-acceltext"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/acceltext">acceltext</a></code></dt>
+ <dd>
+ Type:
+ <i>
+ string</i>
+ </dd>
+ <dd>
+ Text that appears beside beside the <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/menu" title="menu">menu</a></code> label to indicate the shortcut key (accelerator key) to use to invoke the command. If this value is set, it overrides an assigned key set in the key attribute. This attribute does not apply to menus directly on the menubar.</dd>
+</dl>
+<div class="noinclude">
+  </div>
+<p></p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/accesskey/index.html b/files/zh-cn/mozilla/tech/xul/attribute/accesskey/index.html
new file mode 100644
index 0000000000..e6697bda0d
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/accesskey/index.html
@@ -0,0 +1,43 @@
+---
+title: accesskey
+slug: Mozilla/Tech/XUL/Attribute/accesskey
+tags:
+ - XUL Attributes
+translation_of: Archive/Mozilla/XUL/Attribute/accesskey
+---
+<div class="noinclude"><span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+
+<div class="noinclude">
+<dl>
+ <dd>Attribute of: <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/button" title="button">button</a></code>, <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/checkbox" title="checkbox">checkbox</a></code>, <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/caption" title="caption">caption</a></code>, <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/description" title="description">description</a></code>, <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/label" title="label">label</a></code>, <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/listitem" title="listitem">listitem</a></code>, <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/menu" title="menu">menu</a></code>, <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/menuitem" title="menuitem">menuitem</a></code>, <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/menulist" title="menulist">menulist</a></code>, <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/tab" title="tab">tab</a></code>, <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/radio" title="radio">radio</a></code>, <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/toolbarbutton" title="toolbarbutton">toolbarbutton</a></code>, <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/textbox (Firefox autocomplete)" title="textbox (Firefox autocomplete)">textbox (Firefox autocomplete)</a></code></dd>
+</dl>
+</div>
+
+<dl>
+ <dt><code id="a-accesskey"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/accesskey">accesskey</a></code></dt>
+ <dd>类型:
+ <i>character【字符】</i>
+ </dd>
+ <dd>本属性允许为控件(元素)设定一个字符作为快捷键,这个字符应该是 <code><code id="a-label"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/label">label</a></code></code> 属性文本中的一个字符。该字符将会被加下划线以重点强调,平台和主体的变换并不影响这一表现行为。 当用户点击 ALT (在其他平台上具有类似功能的键) 和这个字符对应的按键时, 控件(元素)将立刻被从窗口中的某处激活或/并且获得焦点 <b>。虽说字符不分大小写,但是当label中存在大写字符和小写字符时,快捷键的字符将首先选择与之完全匹配的那一个,如果label中存在两个或更多的与accesskey字符相同的字符,其中的第一个字符将被加下划线。</b></dd>
+ <dt>      *(有些键在监听按键事件时,分别对应event.ctrlKey和event.metaKey。)</dt>
+</dl>
+
+<p> </p>
+
+<h4 id="Example" name="Example">Example</h4>
+
+<div class="float-right"><img alt="Image:XUL_ref_accesskey_attr.png"></div>
+
+<pre>&lt;vbox&gt;
+ &lt;label value="Enter Name" accesskey="e" control="myName"/&gt;
+ &lt;textbox id="myName"/&gt;
+ &lt;button label="Cancel" accesskey="n"/&gt;
+ &lt;button label="Ok" accesskey="O"/&gt;
+&lt;/vbox&gt;
+</pre>
+
+<h4 id="See_also" name="See_also">See also</h4>
+
+<p><code id="a-label"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/label">label</a></code> attribute, <code id="a-acceltext"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/acceltext">acceltext</a></code> attribute</p>
+
+<p></p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/activetitlebarcolor/index.html b/files/zh-cn/mozilla/tech/xul/attribute/activetitlebarcolor/index.html
new file mode 100644
index 0000000000..5352f49114
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/activetitlebarcolor/index.html
@@ -0,0 +1,19 @@
+---
+title: activetitlebarcolor
+slug: Mozilla/Tech/XUL/Attribute/activetitlebarcolor
+translation_of: Archive/Mozilla/XUL/Attribute/activetitlebarcolor
+---
+<div class="noinclude">
+ <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+<dl>
+ <dt>
+ <code id="a-activetitlebarcolor"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/activetitlebarcolor">activetitlebarcolor</a></code> </dt>
+ <dd>
+ Type: <em>color string</em></dd>
+ <dd>
+ Specify background color of the window's titlebar when it is active (foreground). Moreover this hides separator between titlebar and window contents. <em>This only affects Mac OS X.</em></dd>
+</dl>
+<div class="noinclude">
+ <p></p>
+</div>
+<p> </p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/align/index.html b/files/zh-cn/mozilla/tech/xul/attribute/align/index.html
new file mode 100644
index 0000000000..f940cbdbb3
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/align/index.html
@@ -0,0 +1,54 @@
+---
+title: align
+slug: Mozilla/Tech/XUL/Attribute/align
+tags:
+ - Reference
+ - XUL
+translation_of: Archive/Mozilla/XUL/Attribute/align
+---
+<div class="noinclude"><span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+
+<dl>
+ <dt><code id="a-align"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/align">align</a></code></dt>
+ <dd>Type: <em>one of the values below</em></dd>
+ <dd>The align attribute specifies how child elements of the box are aligned, when the size of the box is larger than the total size of the children.<br>
+ 当box的尺寸大于全部子元素的尺寸时,align属性指定box元素的对齐方式。
+ <ul>
+ <li>For boxes that have horizontal orientation, it specifies how its children will be aligned vertically.</li>
+ <li>当box设置水平排列,它指定子元素如何垂直对齐。</li>
+ <li>For boxes that have vertical orientation, it specifies how its children will be aligned horizontally.</li>
+ <li>当box设置垂直排列,它指定子元素如何水平对齐</li>
+ </ul>
+ </dd>
+ <dd>
+ <dl>
+ <dt><code>start</code></dt>
+ <dd>Child elements are aligned starting from the left or top edge of the box. If the box is larger than the total size of the children, the extra space is placed on the right or bottom side.<br>
+ 子元素从box的左边或顶部开始排列。如果box大于全部子元素的总和,多出的空间在右边或底部。</dd>
+ <dt><code>center</code></dt>
+ <dd>Extra space is split equally along each side of the child elements, resulting in the children being placed in the center of the box.<br>
+ 多出的空间在子元素的周围,使子元素放置在box的中间。</dd>
+ <dt><code>end</code></dt>
+ <dd>Child elements are placed on the right or bottom edge of the box. If the box is larger than the total size of the children, the extra space is placed on the left or top side.<br>
+ 子元素从box的右边或底部开始排列。如果box大于全部子元素的总和,多出的空间在左边或顶部部。</dd>
+ <dt><code>baseline</code></dt>
+ <dd>This value applies to horizontally oriented boxes only. It causes the child elements to be aligned so that their text labels are lined up.<br>
+ 这个值只适用于水平方向的box元素。它让子元素的文本标签成一条直线。</dd>
+ <dt><code>stretch</code></dt>
+ <dd><em>This is the default value.</em> The child elements are stretched to fit the size of the box. For a horizontal box, the children are stretched to be the height of the box. For a vertical box, the children are stretched to be the width of the box. If the size of the box changes, the children stretch to fit. Use the flex attribute to create elements that stretch in the opposite direction.<br>
+ 这是默认值。拉伸子元素来填充box。在水平的box元素中,子元素在高度上被拉伸。在垂直的box元素中,子元素在宽度上被拉伸。如果box元素尺寸改变,子元素也随之改变。使用flex属性创建的元素在相反方向被拉伸。</dd>
+ <dt><code>left</code> <span title="This deprecated API should no longer be used, but will probably still work."><i class="icon-thumbs-down-alt"> </i></span></dt>
+ <dd>The elements are aligned on their left edges.<br>
+ 元素左边缘对齐。</dd>
+ <dt><code>center</code> <span title="This deprecated API should no longer be used, but will probably still work."><i class="icon-thumbs-down-alt"> </i></span></dt>
+ <dd>The elements are centered horizontally.<br>
+ 元素水平居中。</dd>
+ <dt><code>right</code> <span title="This deprecated API should no longer be used, but will probably still work."><i class="icon-thumbs-down-alt"> </i></span></dt>
+ <dd>The elements are aligned on their right edges.<br>
+ 元素右边缘对齐。</dd>
+ </dl>
+ </dd>
+ <dd>The <a href="/en-US/docs/XUL/Attribute/pack" title="XUL/Attribute/pack">pack</a> attribute is related to the alignment but is used to specify the position in the opposite direction. You can also specify the value of align using the style property <a href="/zh-CN/docs/Web/CSS/-moz-box-align" title="此页面仍未被本地化, 期待您的翻译!"><code>-moz-box-align</code></a>.<br>
+ <a href="/en-US/docs/XUL/Attribute/pack" title="XUL/Attribute/pack">pack</a>也是有关对齐的属性,但是指定相反方向的位置。你也可以在style中使用对齐的方式<a href="/zh-CN/docs/Web/CSS/-moz-box-align" title="此页面仍未被本地化, 期待您的翻译!"><code>-moz-box-align</code></a>。</dd>
+ <dt></dt>
+</dl>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/allowevents/index.html b/files/zh-cn/mozilla/tech/xul/attribute/allowevents/index.html
new file mode 100644
index 0000000000..5d17570f74
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/allowevents/index.html
@@ -0,0 +1,30 @@
+---
+title: allowevents
+slug: Mozilla/Tech/XUL/Attribute/allowevents
+tags:
+ - XUL Attributes
+ - XUL Reference
+translation_of: Archive/Mozilla/XUL/Attribute/allowevents
+---
+<div class="noinclude"><span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+
+<dl>
+ <dt><code id="a-allowevents"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/allowevents">allowevents</a></code></dt>
+ <dd>Type:
+ <i>boolean<br>
+ </i>
+ 类型:boolean</dd>
+ <dd>If true, events are passed to children of the element. Otherwise, events are passed to the element only.<br>
+ 如果为真,事件向子元素传递。否则,事件只传递到当前元素。</dd>
+</dl>
+
+<div class="noinclude">
+<p>On <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/listitem" title="listitem">listitem</a></code> and <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/titlebar" title="titlebar">titlebar</a></code> elements, mouse events normally do not get sent to their children; instead they are retargeted to the <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/listitem" title="listitem">listitem</a></code> and <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/titlebar" title="titlebar">titlebar</a></code> element itself. This means that elements placed inside a listitem do not respond to events, and instead clicking the mouse simply selects that item within the list. By setting the allowevents attribute to <code>true</code>, this special behavior is disabled, and the events are targeted the same as other elements.<br>
+ 在 <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/listitem" title="listitem">listitem</a></code> 和 <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/titlebar" title="titlebar">titlebar</a></code> 元素中,鼠标事件通常不发送给子元素;相反它们重定向到 <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/listitem" title="listitem">listitem</a></code> 和 <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/titlebar" title="titlebar">titlebar</a></code> 元素本身。这意味着,放置在listitem内部的元素并不响应事件,而点击鼠标仅仅是选择在列表中的元素。当设置allowevents属性为真时,这种特殊的响应被禁止,事件则被定向到其他相同的元素。</p>
+
+<p>For <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/menu" title="menu">menu</a></code>, <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/menuseparator" title="menuseparator">menuseparator</a></code>, <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/menuitem" title="menuitem">menuitem</a></code> and <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/treecol" title="treecol">treecol</a></code> elements, as well as menu buttons, and the popup <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/datepicker" title="datepicker">datepicker</a></code>, mouse events are also retargeted to the element itself. However, the allowevents attribute is handled in a different way. Instead, the allowevents may be set to <code>true</code> on a descendant instead. This does the same thing in that it allows events to be targeted normally, but allows this to be different for each descendant.</p>
+
+<p>This behavior is used for menus, for instance, to allow a menu button to behave as a menu when clicking on it, yet have part of the menu behave as a button. For the latter, the allowevents attribute is set to <code>true</code> to have a click on the child button receive events instead of targeting all events at the menu.</p>
+</div>
+
+<p></p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/allownegativeassertions/index.html b/files/zh-cn/mozilla/tech/xul/attribute/allownegativeassertions/index.html
new file mode 100644
index 0000000000..51c8c4e222
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/allownegativeassertions/index.html
@@ -0,0 +1,18 @@
+---
+title: allownegativeassertions
+slug: Mozilla/Tech/XUL/Attribute/allownegativeassertions
+translation_of: Archive/Mozilla/XUL/Attribute/allownegativeassertions
+---
+<div class="noinclude"><span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+
+<dl>
+ <dt><code id="a-allownegativeassertions"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/allownegativeassertions">allownegativeassertions</a></code></dt>
+ <dd>Type: <em>boolean</em><br>
+ 类型:布尔类型</dd>
+ <dd>Valid on any element that has a <code id="a-datasources"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/datasources">datasources</a></code> attribute. When multiple datasources are used, one may override an assertion from another. This attribute, if <code>true</code>, which is the default, allows a datasource to negate an earlier assertion.<br>
+ 适用于任何有 <code id="a-datasources"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/datasources">datasources</a></code> 属性的元素。当使用多个数据源,一个数据源可以指定覆盖另一个。这个属性,如果为真,这是默认值,允许一个数据源覆盖之前的数据源。</dd>
+</dl>
+
+<div class="noinclude">
+<p></p>
+</div>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/autocheck/index.html b/files/zh-cn/mozilla/tech/xul/attribute/autocheck/index.html
new file mode 100644
index 0000000000..edd3c5e9ed
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/autocheck/index.html
@@ -0,0 +1,24 @@
+---
+title: autocheck
+slug: Mozilla/Tech/XUL/Attribute/autocheck
+tags:
+ - XUL Attributes
+translation_of: Archive/Mozilla/XUL/Attribute/autoCheck
+---
+<div class="noinclude"><span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+
+<dl>
+ <dt><code id="a-autocheck"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/autocheck">autocheck</a></code></dt>
+ <dd>类型:
+ <i>boolean</i>
+ </dd>
+ <dd>如果此属性为 <code>true</code>,或空白, 每次点击按钮时,此按钮的状态检查都会被执行一次。如果此属性为<code>false</code>, 检查会手动的被拒绝。当autocheck值为true的时候,按钮将会变为多选框或者单选框。</dd>
+</dl>
+
+<div class="noinclude">
+<h3 id="See_also" name="See_also">See also</h3>
+
+<p><code><a href="cn/XUL/Attribute/autoCheck">autoCheck</a></code></p>
+</div>
+
+<p></p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/autoscroll/index.html b/files/zh-cn/mozilla/tech/xul/attribute/autoscroll/index.html
new file mode 100644
index 0000000000..9bc1366f88
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/autoscroll/index.html
@@ -0,0 +1,12 @@
+---
+title: autoscroll
+slug: Mozilla/Tech/XUL/Attribute/autoscroll
+translation_of: Archive/Mozilla/XUL/Attribute/autoscroll
+---
+<div class="noinclude"><span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/en-US/docs/XUL/XUL_Reference">XUL Reference home</a></span></div>
+
+<dl>
+ <dt><code id="a-autoscroll"><a href="https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Attribute/autoscroll">autoscroll</a></code></dt>
+ <dd>Type: <em>boolean</em></dd>
+ <dd>Set to <code>false</code> to disable autoscroll for this browser. If this attribute is set to <code>true</code> or omitted, autoscroll will be enabled or depending on the user preference <code>general.autoScroll</code>.</dd>
+</dl>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/buttonaccesskeyaccept/index.html b/files/zh-cn/mozilla/tech/xul/attribute/buttonaccesskeyaccept/index.html
new file mode 100644
index 0000000000..4e42f14bad
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/buttonaccesskeyaccept/index.html
@@ -0,0 +1,20 @@
+---
+title: buttonaccesskeyaccept
+slug: Mozilla/Tech/XUL/Attribute/buttonaccesskeyaccept
+translation_of: Archive/Mozilla/XUL/Attribute/buttonaccesskeyaccept
+---
+<div class="noinclude">
+ <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+<dl>
+ <dt>
+ <code id="a-buttonaccesskeyaccept"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/buttonaccesskeyaccept">buttonaccesskeyaccept</a></code></dt>
+ <dd>
+ Type: <em>string</em></dd>
+ <dd>
+ The access key to use for the "accept" button.</dd>
+</dl>
+<p> </p>
+<div class="noinclude">
+ <p></p>
+</div>
+<p> </p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/buttonlabelextra1/index.html b/files/zh-cn/mozilla/tech/xul/attribute/buttonlabelextra1/index.html
new file mode 100644
index 0000000000..1de5913a9b
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/buttonlabelextra1/index.html
@@ -0,0 +1,19 @@
+---
+title: buttonlabelextra1
+slug: Mozilla/Tech/XUL/Attribute/buttonlabelextra1
+translation_of: Archive/Mozilla/XUL/Attribute/buttonlabelextra1
+---
+<div class="noinclude">
+ <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+<dl>
+ <dt>
+ <code id="a-buttonlabelextra1"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/buttonlabelextra1">buttonlabelextra1</a></code></dt>
+ <dd>
+ Type: <em>string</em></dd>
+ <dd>
+ The label to appear on the first extra button.</dd>
+</dl>
+<div class="noinclude">
+ <p></p>
+</div>
+<p> </p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/buttonlabelextra2/index.html b/files/zh-cn/mozilla/tech/xul/attribute/buttonlabelextra2/index.html
new file mode 100644
index 0000000000..1a7f700eac
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/buttonlabelextra2/index.html
@@ -0,0 +1,19 @@
+---
+title: buttonlabelextra2
+slug: Mozilla/Tech/XUL/Attribute/buttonlabelextra2
+translation_of: Archive/Mozilla/XUL/Attribute/buttonlabelextra2
+---
+<div class="noinclude">
+ <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+<dl>
+ <dt>
+ <code id="a-buttonlabelextra2"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/buttonlabelextra2">buttonlabelextra2</a></code></dt>
+ <dd>
+ Type: <em>string</em></dd>
+ <dd>
+ The label to appear on the second extra button.</dd>
+</dl>
+<div class="noinclude">
+ <p></p>
+</div>
+<p> </p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/buttons/index.html b/files/zh-cn/mozilla/tech/xul/attribute/buttons/index.html
new file mode 100644
index 0000000000..5759eabd90
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/buttons/index.html
@@ -0,0 +1,28 @@
+---
+title: buttons
+slug: Mozilla/Tech/XUL/Attribute/buttons
+translation_of: Archive/Mozilla/XUL/Attribute/buttons
+---
+<div class="noinclude">
+ <span class="breadcrumbs XULRefProp_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference" title="XUL_Reference">XUL Reference</a></span></div>
+<dl>
+ <dt>
+ <code><span><a href="https://developer.mozilla.org/zh-CN/docs/XUL/Property/buttons">buttons</a></span></code></dt>
+ <dd>
+ 类型: 列表,下面的值用逗号分隔</dd>
+ <dd>
+ 需要显示在对话框上的按钮的一个列表,使用逗号分隔。将按钮放置在合适的位置,将根据用户平台自动执行基本的事件处理。在列表中可以使用以下值:
+ <ul>
+ <li><code>accept</code>:“确定”按钮,按下按钮时将接受更改。此按钮为默认按钮。</li>
+ <li><code>cancel</code>:“取消”按钮,将取消操作。</li>
+ <li><code>help</code>:“帮助”按钮,在对话框显示一个“帮助”按钮。</li>
+ <li><code>disclosure</code>:“更多信息”按钮,显示一个“more info”按钮。该按钮可能是一个按钮或一个三角形。</li>
+ <li><code>extra1</code>:一个可选的额外的按钮。你可以通过<code><code id="a-buttonlabelextra1"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/buttonlabelextra1">buttonlabelextra1</a></code></code> 属性设置它的label。</li>
+ <li><code>extra2</code>:第二个可选的额外的按钮。你可以通过 <code><code id="a-buttonlabelextra2"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/buttonlabelextra2">buttonlabelextra2</a></code></code> 属性设置它的label。</li>
+ </ul>
+ </dd>
+</dl>
+<div class="noinclude">
+ <p></p>
+</div>
+<p> </p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/checked/index.html b/files/zh-cn/mozilla/tech/xul/attribute/checked/index.html
new file mode 100644
index 0000000000..249a1f1ee1
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/checked/index.html
@@ -0,0 +1,24 @@
+---
+title: checked
+slug: Mozilla/Tech/XUL/Attribute/checked
+tags:
+ - XUL Attributes
+translation_of: Archive/Mozilla/XUL/Attribute/checked
+---
+<div class="noinclude">
+ <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+<dl>
+ <dt>
+ <code id="a-checked"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/checked">checked</a></code></dt>
+ <dd>
+ Type:
+ <i>
+ boolean</i>
+ </dd>
+ <dd>
+ Indicates whether the element is checked or not.</dd>
+ <dd>
+ Use <code>hasAttribute()</code> to determine whether this attribute is set instead of <code>getAttribute()</code>.</dd>
+ <dd>
+ For buttons, the <code>type</code> attribute must be set to <code>checkbox</code> or <code>radio</code> for this attribute to have any effect.&lt;magic name="\"PAGENAME\"/"&gt;&lt;/magic&gt;</dd>
+</dl>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/class/index.html b/files/zh-cn/mozilla/tech/xul/attribute/class/index.html
new file mode 100644
index 0000000000..45eb8dbc87
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/class/index.html
@@ -0,0 +1,23 @@
+---
+title: class
+slug: Mozilla/Tech/XUL/Attribute/class
+tags:
+ - XUL Attributes
+ - XUL Reference
+translation_of: Archive/Mozilla/XUL/Attribute/class
+---
+<div class="noinclude"><span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+
+<dl>
+ <dt><code id="a-class"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/class">class</a></code></dt>
+ <dd>Type:
+ <i>string<br>
+ </i>
+ 类型:字符串(string)</dd>
+ <dd>The style class of the element. Multiple classes may be specified by separating them with spaces.<br>
+ 元素样式类型。多个类可以使用空格分开。</dd>
+</dl>
+
+<div class="noinclude"> </div>
+
+<p></p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/coalesceduplicatearcs/index.html b/files/zh-cn/mozilla/tech/xul/attribute/coalesceduplicatearcs/index.html
new file mode 100644
index 0000000000..01e6ddd51f
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/coalesceduplicatearcs/index.html
@@ -0,0 +1,17 @@
+---
+title: coalesceduplicatearcs
+slug: Mozilla/Tech/XUL/Attribute/coalesceduplicatearcs
+tags:
+ - XUL Attributes
+ - XUL Reference
+translation_of: Archive/Mozilla/XUL/Attribute/coalesceduplicatearcs
+---
+<div class="noinclude"><span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+
+<dl>
+ <dt><code id="a-coalesceduplicatearcs"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/coalesceduplicatearcs">coalesceduplicatearcs</a></code></dt>
+ <dd>Type: <em>boolean</em><br>
+ 类型:布尔类型(boolean)</dd>
+ <dd>Valid on any element that has a <code id="a-datasources"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/datasources">datasources</a></code> attribute. When multiple datasources are used, one may override an assertion from another. This attribute, if <code>true</code>, which is the default, allows a datasource to negate an earlier assertion.<br>
+ 任何有 <code id="a-datasources"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/datasources">datasources</a></code> 属性的元素有效。当有多个数据源时使用,可以覆盖另一个声明。这个属性,如果是真,这是默认属性,允许一个数据源取消更早的声明。 </dd>
+</dl>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/collapsed/index.html b/files/zh-cn/mozilla/tech/xul/attribute/collapsed/index.html
new file mode 100644
index 0000000000..50d54b771f
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/collapsed/index.html
@@ -0,0 +1,27 @@
+---
+title: collapsed
+slug: Mozilla/Tech/XUL/Attribute/collapsed
+translation_of: Archive/Mozilla/XUL/Attribute/collapsed
+---
+<div class="noinclude"><span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+
+<dl>
+ <dt><code id="a-collapsed"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/collapsed">collapsed</a></code></dt>
+ <dd>Type: <em>boolean</em><br>
+ 类型:布尔类型(boolean)</dd>
+ <dd>If <code>true</code>, then the element is collapsed and does not appear. It is equivalent to setting the CSS <a href="/en-US/docs/CSS/visibility" title="/en-US/docs/CSS/visibility">visibility</a> property to <code>collapse</code>.<br>
+ 如果是真,那么这个元素可以折叠并且隐藏。相当于设置CSS的 <a href="/en-US/docs/CSS/visibility" title="/en-US/docs/CSS/visibility">visibility</a> 属性为 collapse。</dd>
+</dl>
+
+<div class="noinclude">
+<h2 id="See_also_相关参考">See also<br>
+ 相关参考</h2>
+
+<ul>
+ <li><code id="a-hidden"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/hidden">hidden</a></code></li>
+</ul>
+
+<p></p>
+</div>
+
+<p> </p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/command/index.html b/files/zh-cn/mozilla/tech/xul/attribute/command/index.html
new file mode 100644
index 0000000000..75c4957f0e
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/command/index.html
@@ -0,0 +1,30 @@
+---
+title: command
+slug: Mozilla/Tech/XUL/Attribute/command
+tags:
+ - XUL Attributes
+translation_of: Archive/Mozilla/XUL/Attribute/command
+---
+<div class="noinclude">
+ <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+<dl>
+ <dt>
+ <code id="a-command"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/command">command</a></code></dt>
+ <dd>
+ Type:
+ <i>
+ element id</i>
+ </dd>
+ <dd>
+ Set to the <code id="a-id"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/id">id</a></code> of a <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/command" title="command">command</a></code> element that is being observed by the element.</dd>
+</dl>
+<div class="noinclude">
+ <h3 id="Example" name="Example">Example</h3>
+ <pre>&lt;command id="cmd_openhelp" oncommand="alert('Help');"/&gt;
+&lt;button label="Help" command="cmd_openhelp"/&gt;
+&lt;button label="More Help" command="cmd_openhelp"/&gt;
+</pre>
+ <h3 id="See_also" name="See_also">See also</h3>
+ <p><code><code><a href="/zh-CN/docs/Mozilla/Tech/XUL/command" title="command">command</a></code></code> element, <code><code id="a-oncommand"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/oncommand">oncommand</a></code></code> and <code><code><a href="/zh-CN/docs/Mozilla/Tech/XUL/commandset" title="commandset">commandset</a></code></code></p>
+</div>
+<p></p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/container/index.html b/files/zh-cn/mozilla/tech/xul/attribute/container/index.html
new file mode 100644
index 0000000000..4b1429ae43
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/container/index.html
@@ -0,0 +1,18 @@
+---
+title: container
+slug: Mozilla/Tech/XUL/Attribute/container
+translation_of: Archive/Mozilla/XUL/Attribute/container
+---
+<div class="noinclude"><span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+
+<dl>
+ <dt><code id="a-container"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/container">container</a></code></dt>
+ <dd>Type: <em>boolean</em><br>
+ 类型:布尔类型(boolean)</dd>
+ <dd>Set to true if the element is to act as a container which can have child elements. This would be used for folders. This will be set by the template builder as needed.<br>
+ 如果该元素是作为一个容器可以有子元素,设置为真。</dd>
+</dl>
+
+<div class="noinclude">
+<p></p>
+</div>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/control/index.html b/files/zh-cn/mozilla/tech/xul/attribute/control/index.html
new file mode 100644
index 0000000000..74a0edec5a
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/control/index.html
@@ -0,0 +1,23 @@
+---
+title: control
+slug: Mozilla/Tech/XUL/Attribute/control
+tags:
+ - XUL Attributes
+ - XUL Reference
+translation_of: Archive/Mozilla/XUL/Attribute/control
+---
+<div class="noinclude">
+ <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+<dl>
+ <dt>
+ <code id="a-control"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/control">control</a></code></dt>
+ <dd>
+ Type: <em>element id</em></dd>
+ <dd>
+ This attribute specifies the <code id="a-id"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/id">id</a></code> of the element with which the label is associated. When the user clicks on the label, the associated element is given focus.<br>
+ 这个属性定义了元素的<code id="a-id"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/id">id</a></code>,它与<code id="a-label"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/label">label</a></code>相关联。当用户点击 <code id="a-label"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/label">label</a></code> 的时候,相关联的元素将获得焦点。</dd>
+</dl>
+<div class="noinclude">
+ <p></p>
+</div>
+<p> </p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/crop/index.html b/files/zh-cn/mozilla/tech/xul/attribute/crop/index.html
new file mode 100644
index 0000000000..1ab3f59210
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/crop/index.html
@@ -0,0 +1,37 @@
+---
+title: crop
+slug: Mozilla/Tech/XUL/Attribute/crop
+tags:
+ - XUL Attributes
+translation_of: Archive/Mozilla/XUL/Attribute/crop
+---
+<div class="noinclude">
+ <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+<dl>
+ <dt>
+ <code id="a-crop"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/crop">crop</a></code></dt>
+ <dd>
+ Type:
+ <i>
+ one of the values below</i>
+ </dd>
+ <dd>
+ If the label of the element is too big to fit in its given space, the text will be cropped on the side specified by the <code>crop</code> attribute. An ellipsis will be used in place of the cropped text. If the box direction is reversed, the cropping is reversed.</dd>
+</dl>
+<ul>
+ <li><code>start</code>: The text will be cropped on its left side.</li>
+ <li><code>end</code>: The text will be cropped on its right side.</li>
+ <li><code>left</code>: <span title="This deprecated API should no longer be used, but will probably still work."><i class="icon-thumbs-down-alt"> </i></span> The text will be cropped on its left side.</li>
+ <li><code>right</code>: <span title="This deprecated API should no longer be used, but will probably still work."><i class="icon-thumbs-down-alt"> </i></span> The text will be cropped on its right side.</li>
+ <li><code>center</code>: The text will be cropped in the middle, showing both the start and end of the text normally.</li>
+ <li><code>none</code>: The text will be not be cropped using an ellipsis. However, the text will simply be cut off if it is too large. The side depends on the CSS text alignment.</li>
+</ul>
+<div class="noinclude">
+ <dl>
+ <dd>
+ Depending on the platform and theme being used, some elements will have a set maximum width so they will be always appear cropped. If you wish to use the value <code>none</code> and the displayed text is larger than this maximum width, you may be able to use the max-width CSS property (or the maxwidth attribute) to override this size. For example, for a menuitem in a menu you can add the following CSS rule when you want to use the value <code>none</code>:</dd>
+ </dl>
+ <pre class="eval">menupopup &gt; menuitem, menupopup &gt; menu { max-width: none; }
+</pre>
+</div>
+<p></p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/description/index.html b/files/zh-cn/mozilla/tech/xul/attribute/description/index.html
new file mode 100644
index 0000000000..008aa1281c
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/description/index.html
@@ -0,0 +1,23 @@
+---
+title: description
+slug: Mozilla/Tech/XUL/Attribute/description
+tags:
+ - XUL Attributes
+translation_of: Archive/Mozilla/XUL/Attribute/description
+---
+<div class="noinclude">
+ <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+<dl>
+ <dt>
+ <code id="a-description"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/description">description</a></code></dt>
+ <dd>
+ Type:
+ <i>
+ string</i>
+ </dd>
+ <dd>
+ Descriptive text to appear in addition to the dialog title.</dd>
+</dl>
+<div class="noinclude">
+  </div>
+<p></p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/dir/index.html b/files/zh-cn/mozilla/tech/xul/attribute/dir/index.html
new file mode 100644
index 0000000000..0b4c5c36a4
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/dir/index.html
@@ -0,0 +1,39 @@
+---
+title: dir
+slug: Mozilla/Tech/XUL/Attribute/dir
+tags:
+ - XUL Attributes
+translation_of: Archive/Mozilla/XUL/Attribute/dir
+---
+<div class="noinclude">
+ <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+<dl>
+ <dt>
+ <code id="a-dir"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/dir">dir</a></code></dt>
+ <dd>
+ Type:
+ <i>
+ one of the values below</i>
+ </dd>
+ <dd>
+ The direction in which the child elements of the element are placed.</dd>
+</dl>
+<dl>
+ <dt>
+ <code>normal</code></dt>
+ <dd>
+ For scales, the scale's values are ordered from left to right (for horizontal scales) or from top to bottom (for vertical scales)  For other elements, the elements are placed left to right or top to bottom in the order they appear in the XUL code</dd>
+ <dt>
+ <code>reverse</code></dt>
+ <dd>
+ For scales, the scale's values are ordered from right to left (for horizontal scales) or from bottom to top (for vertical scales). For other elements, they are placed right to left or bottom to top. This is reverse of the order in which they appear in the XUL code.</dd>
+</dl>
+<ul>
+</ul>
+<div class="noinclude">
+ <h3 id="See_also" name="See_also">See also</h3>
+ <ul>
+ <li><a href="cn/XUL/Attribute/resizer.dir">resizer.dir</a></li>
+ </ul>
+</div>
+<p> </p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/disabled/index.html b/files/zh-cn/mozilla/tech/xul/attribute/disabled/index.html
new file mode 100644
index 0000000000..057bca261d
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/disabled/index.html
@@ -0,0 +1,38 @@
+---
+title: disabled
+slug: Mozilla/Tech/XUL/Attribute/disabled
+tags:
+ - XUL Attributes
+translation_of: Archive/Mozilla/XUL/Attribute/disabled
+---
+<div class="noinclude"><span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+
+<dl>
+ <dt><code id="a-disabled"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/disabled">disabled</a></code></dt>
+ <dd> </dd>
+ <dd>
+ <h5 id="类型boolean">类型:<em>boolean</em></h5>
+ </dd>
+ <dd>
+ <h5 id="表示元素是被禁用的。">表示元素是被禁用的。</h5>
+
+ <p>如果这个元素的disabled属性被设置为true,表示元素被禁用,被禁用的属性在页面上通常会显示灰色文本,它无法响应用户的操作,它也无法得到光标。</p>
+
+ <p>然而,这个元素仍然能够响应鼠标事件,如果要启用这个元素,把disabled设置为false</p>
+ </dd>
+</dl>
+
+<h4 id="示例:">示例:</h4>
+
+<div class="float-right"><img alt="Image:XUL_ref_attr_disabled.png" src="https://mdn.mozillademos.org/files/1742/XUL_ref_attr_disabled.png"></div>
+
+<pre><code>// Disabling an element
+document.getElementById('buttonRemove').setAttribute("disabled", "true");
+
+// Enabling back an element by removing the "disabled" attribute
+document.getElementById('buttonRemove').removeAttribute("disabled");</code></pre>
+
+<p></p><div class="blockIndicator standardNote">
+ <p><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Firefox/Releases/3.5">Firefox 3.5 note</a></p>
+ <p style="font-weight: 400;">For <a href="https://developer.mozilla.org/en-US/docs/XUL/keyset" title="en/XUL/Keyset"><code>keyset</code></a> elements, support for this attribute was added in Firefox 3.5.</p>
+</div><p></p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/flex/index.html b/files/zh-cn/mozilla/tech/xul/attribute/flex/index.html
new file mode 100644
index 0000000000..7d9954d30a
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/flex/index.html
@@ -0,0 +1,23 @@
+---
+title: flex
+slug: Mozilla/Tech/XUL/Attribute/flex
+tags:
+ - XUL Attributes
+ - XUL Reference
+translation_of: Archive/Mozilla/XUL/Attribute/flex
+---
+<div class="noinclude"><span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+
+<dl>
+ <dt><code id="a-flex"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/flex">flex</a></code></dt>
+ <dd>Type: <em>string</em> (representing an integer)<br>
+ 类型:字符串 (string) 表示一个整数</dd>
+ <dd>Indicates the flexibility of the element, which indicates how an element's container distributes remaining empty space among its children. Flexible elements grow and shrink to fit their given space. Elements with larger flex values will be made larger than elements with lower flex values, at the ratio determined by the two elements. The actual value is not relevant unless there are other flexible elements within the same container. Once the default sizes of elements in a box are calculated, the remaining space in the box is divided among the flexible elements, according to their flex ratios. Specifying a flex value of 0 has the same effect as leaving the flex attribute out entirely.<br>
+ 指示一个元素的伸缩性,</dd>
+</dl>
+
+<div class="noinclude">
+<p></p>
+</div>
+
+<p> </p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/href/index.html b/files/zh-cn/mozilla/tech/xul/attribute/href/index.html
new file mode 100644
index 0000000000..50013e44b3
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/href/index.html
@@ -0,0 +1,24 @@
+---
+title: href
+slug: Mozilla/Tech/XUL/Attribute/href
+tags:
+ - XUL 参考
+ - XUL 属性
+translation_of: Archive/Mozilla/XUL/Attribute/href
+---
+<div class="noinclude"><span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+
+<dl>
+ <dt><code id="a-href"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/href">href</a></code></dt>
+ <dd>类型: <em>文本</em></dd>
+ <dd>定义一个当元素被点击时将会打开的 URL 。需要引用类 <a href="/en/XUL/Style/text-link" title="en/XUL/Style/text-link">text-link </a>。</dd>
+</dl>
+
+<div class="noinclude">
+<pre class="eval">&lt;label href="<span class="nowiki">http://example.com</span>" class="text-link" value="点击这里前往 example.com"/&gt;
+</pre>
+</div>
+
+<div class="noinclude">
+<p></p>
+</div>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/id/index.html b/files/zh-cn/mozilla/tech/xul/attribute/id/index.html
new file mode 100644
index 0000000000..50e8e7b188
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/id/index.html
@@ -0,0 +1,41 @@
+---
+title: id
+slug: Mozilla/Tech/XUL/Attribute/id
+tags:
+ - XUL Attributes
+translation_of: Archive/Mozilla/XUL/Attribute/id
+---
+<div class="noinclude">
+ <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+<dl>
+ <dt>
+ <code id="a-id"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/id">id</a></code></dt>
+ <dd>
+ 类型: <em>元素的ID,在主窗口中必须唯一</em></dd>
+ <dd>
+ 一个唯一的标识一边开发者能够定义. 你可以使用方法 <code><a href="/cn/DOM/document.getElementById" title="cn/DOM/document.getElementById">getElementById()</a></code> 或者其他 DOM 的函数并在样式表中添加对元素的引用。</dd>
+</dl>
+<div class="noinclude">
+ <h4 id="Example" name="Example">示例</h4>
+ <pre>&lt;button id="foo" label="Click Me" oncommand="doSomething()"/&gt;
+
+&lt;script&gt;
+function doSomething(){
+ var myButton = document.getElementById('foo');
+ myButton.setAttribute('label','The button was pressed');
+}
+&lt;/script&gt;
+</pre>
+ <p>一个更加抽象的版本</p>
+ <pre>&lt;button id="foo" label="Click Me" oncommand="setWidgetLabel(this, 'I was pressed')"/&gt;
+&lt;script&gt;
+function setWidgetLabel(idName, newCaption){
+ document.getElementById( idName.id ).setAttribute('label',newCaption)
+}
+
+&lt;/script&gt;
+</pre>
+ <h4 id="See_also" name="See_also">同样,这里还有一些资料</h4>
+ <p><code id="a-name"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/name">name</a></code></p>
+</div>
+<p></p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/image.onload/index.html b/files/zh-cn/mozilla/tech/xul/attribute/image.onload/index.html
new file mode 100644
index 0000000000..846d404d89
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/image.onload/index.html
@@ -0,0 +1,12 @@
+---
+title: image.onload
+slug: Mozilla/Tech/XUL/Attribute/image.onload
+translation_of: Archive/Mozilla/XUL/Attribute/image.onload
+---
+<div class="noinclude"><span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/en-US/docs/XUL/XUL_Reference">XUL Reference home</a></span></div>
+
+<dl>
+ <dt><code id="a-image.onload"><a href="https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Attribute/image.onload">image.onload</a></code></dt>
+ <dd>类型: <em>脚本代码</em></dd>
+ <dd>该事件的处理函数将会在 <code><a href="/en-US/docs/Mozilla/Tech/XUL/image" title="image">image</a></code> 元素指示的图片加载完毕之后触发。此事件触发适用于用 <code id="a-src"><a href="https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Attribute/src">src</a></code> 元素属性或用 <code>list-style-image</code> css属性声明元素样式。如果图片的加载源发生变化,该事件会在图片加载完毕之后再次触发。该事件不会在文档树上向上冒泡。</dd>
+</dl>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/image/index.html b/files/zh-cn/mozilla/tech/xul/attribute/image/index.html
new file mode 100644
index 0000000000..dd82594964
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/image/index.html
@@ -0,0 +1,25 @@
+---
+title: image
+slug: Mozilla/Tech/XUL/Attribute/image
+tags:
+ - XUL Attributes
+translation_of: Archive/Mozilla/XUL/Attribute/image
+---
+<div class="noinclude">
+ <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+<dl>
+ <dt>
+ <code id="a-image"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/image">image</a></code></dt>
+ <dd>
+ Type:
+ <i>
+ image URL</i>
+ </dd>
+ <dd>
+ The URL of the image to appear on the element. If this attribute is empty or left out, no image appears. The position of the image is determined by the <code id="a-dir"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/dir">dir</a></code> and <code id="a-orient"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/orient">orient</a></code> attributes.</dd>
+</dl>
+<div class="noinclude">
+ <h4 id="See_also" name="See_also">See also</h4>
+ <p><code><code><a href="/zh-CN/docs/Mozilla/Tech/XUL/image" title="image">image</a></code></code> element</p>
+</div>
+<p></p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/increment/index.html b/files/zh-cn/mozilla/tech/xul/attribute/increment/index.html
new file mode 100644
index 0000000000..782156bb47
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/increment/index.html
@@ -0,0 +1,15 @@
+---
+title: increment
+slug: Mozilla/Tech/XUL/Attribute/increment
+translation_of: Archive/Mozilla/XUL/Attribute/increment
+---
+<div class="noinclude">
+ <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+<dl>
+ <dt>
+ <code id="a-increment"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/increment">increment</a></code></dt>
+ <dd>
+ 类型:整数</dd>
+ <dd>
+ 拖动刻度条控件(<code>scale</code>元素)中的拉杆,点击滚动条控件(<code>scrollbar</code>元素)中的箭头(拖动拉杆也可以),点击数字输入框(<code>type</code>属性为<code>number</code>的<code>textbox</code>元素)中的箭头时,其<code id="a-curpos"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/curpos">curpos</a></code>属性或者value属性每次改变的数字值,默认值为1.</dd>
+</dl>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/index.html b/files/zh-cn/mozilla/tech/xul/attribute/index.html
new file mode 100644
index 0000000000..097a3d6678
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/index.html
@@ -0,0 +1,304 @@
+---
+title: Attributes
+slug: Mozilla/Tech/XUL/Attribute
+tags:
+ - XUL Attributes
+translation_of: Archive/Mozilla/XUL/Attribute
+---
+<p><span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span>
+</p>
+<ul><li> <a href="cn/XUL/Attribute/acceltext">acceltext</a>
+</li><li> <a href="cn/XUL/Attribute/accessible">accessible</a>
+</li><li> <a href="cn/XUL/Attribute/accesskey">accesskey</a>
+</li><li> <a href="cn/XUL/Attribute/activetitlebarcolor">activetitlebarcolor</a>
+</li><li> <a href="cn/XUL/Attribute/afterselected">afterselected</a>
+</li><li> <a href="cn/XUL/Attribute/align">align</a>
+</li><li> <a href="cn/XUL/Attribute/allowevents">allowevents</a>
+</li><li> <a href="cn/XUL/Attribute/allownegativeassertions">allownegativeassertions</a>
+</li><li> <a href="cn/XUL/Attribute/alternatingbackground">alternatingbackground</a>
+</li><li> <a href="cn/XUL/Attribute/alwaysopenpopup">alwaysopenpopup</a>
+</li><li> <a href="cn/XUL/Attribute/attribute">attribute</a>
+</li><li> <a href="cn/XUL/Attribute/autocheck">autocheck</a>
+</li><li> <a href="cn/XUL/Attribute/autoCheck">autoCheck</a>
+</li><li> <a href="cn/XUL/Attribute/autocompleteenabled">autocompleteenabled</a>
+</li><li> <a href="cn/XUL/Attribute/autocompletepopup">autocompletepopup</a>
+</li><li> <a href="cn/XUL/Attribute/autocompletesearch">autocompletesearch</a>
+</li><li> <a href="cn/XUL/Attribute/autocompletesearchparam">autocompletesearchparam</a>
+</li><li> <a href="cn/XUL/Attribute/autoFill">autoFill</a>
+</li><li> <a href="cn/XUL/Attribute/autoFillAfterMatch">autoFillAfterMatch</a>
+</li><li> <a href="cn/XUL/Attribute/autoscroll">autoscroll</a>
+</li><li> <a href="cn/XUL/Attribute/beforeselected">beforeselected</a>
+</li><li> <a href="cn/XUL/Attribute/buttonaccesskeyaccept">buttonaccesskeyaccept</a>
+</li><li> <a href="cn/XUL/Attribute/buttonaccesskeycancel">buttonaccesskeycancel</a>
+</li><li> <a href="cn/XUL/Attribute/buttonaccesskeydisclosure">buttonaccesskeydisclosure</a>
+</li><li> <a href="cn/XUL/Attribute/buttonaccesskeyextra1">buttonaccesskeyextra1</a>
+</li><li> <a href="cn/XUL/Attribute/buttonaccesskeyextra2">buttonaccesskeyextra2</a>
+</li><li> <a href="cn/XUL/Attribute/buttonaccesskeyhelp">buttonaccesskeyhelp</a>
+</li><li> <a href="cn/XUL/Attribute/buttonalign">buttonalign</a>
+</li><li> <a href="cn/XUL/Attribute/buttondir">buttondir</a>
+</li><li> <a href="cn/XUL/Attribute/buttonlabelaccept">buttonlabelaccept</a>
+</li><li> <a href="cn/XUL/Attribute/buttonlabelcancel">buttonlabelcancel</a>
+</li><li> <a href="cn/XUL/Attribute/buttonlabeldisclosure">buttonlabeldisclosure</a>
+</li><li> <a href="cn/XUL/Attribute/buttonlabelextra1">buttonlabelextra1</a>
+</li><li> <a href="cn/XUL/Attribute/buttonlabelextra2">buttonlabelextra2</a>
+</li><li> <a href="cn/XUL/Attribute/buttonlabelhelp">buttonlabelhelp</a>
+</li><li> <a href="cn/XUL/Attribute/buttonorient">buttonorient</a>
+</li><li> <a href="cn/XUL/Attribute/buttonpack">buttonpack</a>
+</li><li> <a href="cn/XUL/Attribute/buttons">buttons</a>
+</li><li> <a href="cn/XUL/Attribute/checked">checked</a>
+</li><li> <a href="cn/XUL/Attribute/checkState">checkState</a>
+</li><li> <a href="cn/XUL/Attribute/class">class</a>
+</li><li> <a href="cn/XUL/Attribute/closebutton">closebutton</a>
+</li><li> <a href="cn/XUL/Attribute/coalesceduplicatearcs">coalesceduplicatearcs</a>
+</li><li> <a href="cn/XUL/Attribute/collapse">collapse</a>
+</li><li> <a href="cn/XUL/Attribute/collapsed">collapsed</a>
+</li><li> <a href="cn/XUL/Attribute/color">color</a>
+</li><li> <a href="cn/XUL/Attribute/cols">cols</a>
+</li><li> <a href="cn/XUL/Attribute/command">command</a>
+</li><li> <a href="cn/XUL/Attribute/commandupdater">commandupdater</a>
+</li><li> <a href="cn/XUL/Attribute/completedefaultindex">completedefaultindex</a>
+</li><li> <a href="cn/XUL/Attribute/container">container</a>
+</li><li> <a href="cn/XUL/Attribute/containment">containment</a>
+</li><li> <a href="cn/XUL/Attribute/contentcontextmenu">contentcontextmenu</a>
+</li><li> <a href="cn/XUL/Attribute/contenttooltip">contenttooltip</a>
+</li><li> <a href="cn/XUL/Attribute/context">context</a>
+</li><li> <a href="cn/XUL/Attribute/contextmenu">contextmenu</a>
+</li><li> <a href="cn/XUL/Attribute/control">control</a>
+</li><li> <a href="cn/XUL/Attribute/crop">crop</a>
+</li><li> <a href="cn/XUL/Attribute/curpos">curpos</a>
+</li><li> <a href="cn/XUL/Attribute/current">current</a>
+</li><li> <a href="cn/XUL/Attribute/currentset">currentset</a>
+</li><li> <a href="cn/XUL/Attribute/customindex">customindex</a>
+</li><li> <a href="cn/XUL/Attribute/customizable">customizable</a>
+</li><li> <a href="cn/XUL/Attribute/cycler">cycler</a>
+</li><li> <a href="cn/XUL/Attribute/datasources">datasources</a>
+</li><li> <a href="cn/XUL/Attribute/decimalplaces">decimalplaces</a>
+</li><li> <a href="cn/XUL/Attribute/default">default</a>
+</li><li> <a href="cn/XUL/Attribute/defaultButton">defaultButton</a>
+</li><li> <a href="cn/XUL/Attribute/defaultset">defaultset</a>
+</li><li> <a href="cn/XUL/Attribute/description">description</a>
+</li><li> <a href="cn/XUL/Attribute/dir">dir</a>
+</li><li> <a href="cn/XUL/Attribute/disableAutocomplete">disableAutocomplete</a>
+</li><li> <a href="cn/XUL/Attribute/disableautocomplete">disableautocomplete</a>
+</li><li> <a href="cn/XUL/Attribute/disableautoselect">disableautoselect</a>
+</li><li> <a href="cn/XUL/Attribute/disableclose">disableclose</a>
+</li><li> <a href="cn/XUL/Attribute/disabled">disabled</a>
+</li><li> <a href="cn/XUL/Attribute/disablehistory">disablehistory</a>
+</li><li> <a href="cn/XUL/Attribute/disableKeyNavigation">disableKeyNavigation</a>
+</li><li> <a href="cn/XUL/Attribute/disablekeynavigation">disablekeynavigation</a>
+</li><li> <a href="cn/XUL/Attribute/disablesecurity">disablesecurity</a>
+</li><li> <a href="cn/XUL/Attribute/dlgtype">dlgtype</a>
+</li><li> <a href="cn/XUL/Attribute/dragging">dragging</a>
+</li><li> <a href="cn/XUL/Attribute/editable">editable</a>
+</li><li> <a href="cn/XUL/Attribute/editortype">editortype</a>
+</li><li> <a href="cn/XUL/Attribute/element">element</a>
+</li><li> <a href="cn/XUL/Attribute/empty">empty</a>
+</li><li> <a href="cn/XUL/Attribute/emptytext">emptytext</a>
+</li><li> <a href="cn/XUL/Attribute/enableColumnDrag">enableColumnDrag</a>
+</li><li> <a href="cn/XUL/Attribute/enablehistory">enablehistory</a>
+</li><li> <a href="cn/XUL/Attribute/equalsize">equalsize</a>
+</li><li> <a href="cn/XUL/Attribute/eventnode">eventnode</a>
+</li><li> <a href="cn/XUL/Attribute/events">events</a>
+</li><li> <a href="cn/XUL/Attribute/expr">expr</a>
+</li><li> <a href="cn/XUL/Attribute/firstdayofweek">firstdayofweek</a>
+</li><li> <a href="cn/XUL/Attribute/firstpage">firstpage</a>
+</li><li> <a href="cn/XUL/Attribute/first-tab">first-tab</a>
+</li><li> <a href="cn/XUL/Attribute/fixed">fixed</a>
+</li><li> <a href="cn/XUL/Attribute/flags">flags</a>
+</li><li> <a href="cn/XUL/Attribute/flex">flex</a>
+</li><li> <a href="cn/XUL/Attribute/focused">focused</a>
+</li><li> <a href="cn/XUL/Attribute/forceComplete">forceComplete</a>
+</li><li> <a href="cn/XUL/Attribute/forcecomplete">forcecomplete</a>
+</li><li> <a href="cn/XUL/Attribute/grippyhidden">grippyhidden</a>
+</li><li> <a href="cn/XUL/Attribute/grippytooltiptext">grippytooltiptext</a>
+</li><li> <a href="cn/XUL/Attribute/group">group</a>
+</li><li> <a href="cn/XUL/Attribute/handleCtrlPageUpDown">handleCtrlPageUpDown</a>
+</li><li> <a href="cn/XUL/Attribute/handleCtrlTab">handleCtrlTab</a>
+</li><li> <a href="cn/XUL/Attribute/height">height</a>
+</li><li> <a href="cn/XUL/Attribute/helpURI">helpURI</a>
+</li><li> <a href="cn/XUL/Attribute/hidden">hidden</a>
+</li><li> <a href="cn/XUL/Attribute/hidechrome">hidechrome</a>
+</li><li> <a href="cn/XUL/Attribute/hidecolumnpicker">hidecolumnpicker</a>
+</li><li> <a href="cn/XUL/Attribute/hideheader">hideheader</a>
+</li><li> <a href="cn/XUL/Attribute/hideseconds">hideseconds</a>
+</li><li> <a href="cn/XUL/Attribute/hidespinbuttons">hidespinbuttons</a>
+</li><li> <a href="cn/XUL/Attribute/homepage">homepage</a>
+</li><li> <a href="cn/XUL/Attribute/href">href</a>
+</li><li> <a href="cn/XUL/Attribute/icon">icon</a>
+</li><li> <a href="cn/XUL/Attribute/id">id</a>
+</li><li> <a href="cn/XUL/Attribute/ignoreBlurWhileSearching">ignoreBlurWhileSearching</a>
+</li><li> <a href="cn/XUL/Attribute/ignoreblurwhilesearching">ignorebluewhilesearching</a>
+</li><li> <a href="cn/XUL/Attribute/ignorecase">ignorecase</a>
+</li><li> <a href="cn/XUL/Attribute/ignoreincolumnpicker">ignoreincolumnpicker</a>
+</li><li> <a href="cn/XUL/Attribute/ignorekeys">ignorekeys</a>
+</li><li> <a href="cn/XUL/Attribute/image">image</a>
+</li><li> <a href="cn/XUL/Attribute/inactivetitlebarcolor">inactivetitlebarcolor</a>
+</li><li> <a href="cn/XUL/Attribute/increment">increment</a>
+</li><li> <a href="cn/XUL/Attribute/inputtooltiptext">inputtooltiptext</a>
+</li><li> <a href="cn/XUL/Attribute/insertafter">insertafter</a>
+</li><li> <a href="cn/XUL/Attribute/insertbefore">insertbefore</a>
+</li><li> <a href="cn/XUL/Attribute/instantApply">instantApply</a>
+</li><li> <a href="cn/XUL/Attribute/inverted">inverted</a>
+</li><li> <a href="cn/XUL/Attribute/iscontainer">iscontainer</a>
+</li><li> <a href="cn/XUL/Attribute/isempty">isempty</a>
+</li><li> <a href="cn/XUL/Attribute/key">key</a>
+</li><li> <a href="cn/XUL/Attribute/keycode">keycode</a>
+</li><li> <a href="cn/XUL/Attribute/keytext">keytext</a>
+</li><li> <a href="cn/XUL/Attribute/label">label</a>
+</li><li> <a href="cn/XUL/Attribute/lastpage">lastpage</a>
+</li><li> <a href="cn/XUL/Attribute/lastSelected">lastSelected</a>
+</li><li> <a href="cn/XUL/Attribute/last-tab">last-tab</a>
+</li><li> <a href="cn/XUL/Attribute/left">left</a>
+</li><li> <a href="cn/XUL/Attribute/linkedpanel">linkedpanel</a>
+</li><li> <a href="cn/XUL/Attribute/max">max</a>
+</li><li> <a href="cn/XUL/Attribute/maxheight">maxheight</a>
+</li><li> <a href="cn/XUL/Attribute/maxlength">maxlength</a>
+</li><li> <a href="cn/XUL/Attribute/maxpos">maxpos</a>
+</li><li> <a href="cn/XUL/Attribute/maxrows">maxrows</a>
+</li><li> <a href="cn/XUL/Attribute/maxwidth">maxwidth</a>
+</li><li> <a href="cn/XUL/Attribute/member">member</a>
+</li><li> <a href="cn/XUL/Attribute/menu">menu</a>
+</li><li> <a href="cn/XUL/Attribute/menuactive">menuactive</a>
+</li><li> <a href="cn/XUL/Attribute/min">min</a>
+</li><li> <a href="cn/XUL/Attribute/minheight">minheight</a>
+</li><li> <a href="cn/XUL/Attribute/minResultsForPopup">minResultsForPopup</a>
+</li><li> <a href="cn/XUL/Attribute/minresultsforpopup">minresultsforpopup</a>
+</li><li> <a href="cn/XUL/Attribute/minwidth">minwidth</a>
+</li><li> <a href="cn/XUL/Attribute/mode">mode</a>
+</li><li> <a href="cn/XUL/Attribute/modifiers">modifiers</a>
+</li><li> <a href="cn/XUL/Attribute/mousethrough">mousethrough</a>
+</li><li> <a href="cn/XUL/Attribute/multiline">multiline</a>
+</li><li> <a href="cn/XUL/Attribute/multiple">multiple</a>
+</li><li> <a href="cn/XUL/Attribute/name">name</a>
+</li><li> <a href="cn/XUL/Attribute/negate">negate</a>
+</li><li> <a href="cn/XUL/Attribute/newlines">newlines</a>
+</li><li> <a href="cn/XUL/Attribute/next">next</a>
+</li><li> <a href="cn/XUL/Attribute/noautofocus">noautofocus</a>
+</li><li> <a href="cn/XUL/Attribute/noautohide">noautohide</a>
+</li><li> <a href="cn/XUL/Attribute/nomatch">nomatch</a>
+</li><li> <a href="cn/XUL/Attribute/object">object</a>
+</li><li> <a href="cn/XUL/Attribute/observes">observes</a>
+</li><li> <a href="cn/XUL/Attribute/onbeforeaccept">onbeforeaccept</a>
+</li><li> <a href="cn/XUL/Attribute/onbookmarkgroup">onbookmarkgroup</a>
+</li><li> <a href="cn/XUL/Attribute/onchange">onchange</a>
+</li><li> <a href="cn/XUL/Attribute/onclosetab">onclosetab</a>
+</li><li> <a href="cn/XUL/Attribute/oncommand">oncommand</a>
+</li><li> <a href="cn/XUL/Attribute/oncommandupdate">oncommandupdate</a>
+</li><li> <a href="cn/XUL/Attribute/ondialogaccept">ondialogaccept</a>
+</li><li> <a href="cn/XUL/Attribute/ondialogcancel">ondialogcancel</a>
+</li><li> <a href="cn/XUL/Attribute/ondialogdisclosure">ondialogclosure</a>
+</li><li> <a href="cn/XUL/Attribute/ondialogextra1">ondialogextra1</a>
+</li><li> <a href="cn/XUL/Attribute/ondialogextra2">ondialogextra2</a>
+</li><li> <a href="cn/XUL/Attribute/ondialoghelp">ondialoghelp</a>
+</li><li> <a href="cn/XUL/Attribute/onerror">onerror</a>
+</li><li> <a href="cn/XUL/Attribute/onerrorcommand">onerrorcommand</a>
+</li><li> <a href="cn/XUL/Attribute/onextra1">onextra1</a>
+</li><li> <a href="cn/XUL/Attribute/onextra2">onextra2</a>
+</li><li> <a href="cn/XUL/Attribute/oninput">oninput</a>
+</li><li> <a href="cn/XUL/Attribute/onload">onload</a>
+</li><li> <a href="cn/XUL/Attribute/onnewtab">onnewtab</a>
+</li><li> <a href="cn/XUL/Attribute/onpageadvanced">onpageadvanced</a>
+</li><li> <a href="cn/XUL/Attribute/onpagehide">onpagehide</a>
+</li><li> <a href="cn/XUL/Attribute/onpagerewound">onpagerewound</a>
+</li><li> <a href="cn/XUL/Attribute/onpageshow">onpageshow</a>
+</li><li> <a href="cn/XUL/Attribute/onpaneload">onpaneload</a>
+</li><li> <a href="cn/XUL/Attribute/onpopuphidden">onpopuphidden</a>
+</li><li> <a href="cn/XUL/Attribute/onpopuphiding">onpopuphiding</a>
+</li><li> <a href="cn/XUL/Attribute/onpopupshowing">onpopupshowing</a>
+</li><li> <a href="cn/XUL/Attribute/onpopupshown">onpopupshown</a>
+</li><li> <a href="cn/XUL/Attribute/onsearchcomplete">onsearchcomplete</a>
+</li><li> <a href="cn/XUL/Attribute/onselect">onselect</a>
+</li><li> <a href="cn/XUL/Attribute/ontextcommand">ontextcommand</a>
+</li><li> <a href="cn/XUL/Attribute/ontextentered">ontextentered</a>
+</li><li> <a href="cn/XUL/Attribute/ontextrevert">ontextrevert</a>
+</li><li> <a href="cn/XUL/Attribute/ontextreverted">ontextreverted</a>
+</li><li> <a href="cn/XUL/Attribute/onwizardback">onwizardback</a>
+</li><li> <a href="cn/XUL/Attribute/onwizardcancel">onwizardcancel</a>
+</li><li> <a href="cn/XUL/Attribute/onwizardfinish">onwizardfinish</a>
+</li><li> <a href="cn/XUL/Attribute/onwizardnext">onwizardnext</a>
+</li><li> <a href="cn/XUL/Attribute/open">open</a>
+</li><li> <a href="cn/XUL/Attribute/ordinal">ordinal</a>
+</li><li> <a href="cn/XUL/Attribute/orient">orient</a>
+</li><li> <a href="cn/XUL/Attribute/pack">pack</a>
+</li><li> <a href="cn/XUL/Attribute/pageid">pageid</a>
+</li><li> <a href="cn/XUL/Attribute/pageincrement">pageincrement</a>
+</li><li> <a href="cn/XUL/Attribute/pagestep">pagestep</a>
+</li><li> <a href="cn/XUL/Attribute/parent">parent</a>
+</li><li> <a href="cn/XUL/Attribute/parsetype">parsetype</a>
+</li><li> <a href="cn/XUL/Attribute/persist">persist</a>
+</li><li> <a href="cn/XUL/Attribute/persistence">persistence</a>
+</li><li> <a href="cn/XUL/Attribute/phase">phase</a>
+</li><li> <a href="cn/XUL/Attribute/pickertooltiptext">pickertooltiptext</a>
+</li><li> <a href="cn/XUL/Attribute/popup">popup</a>
+</li><li> <a href="cn/XUL/Attribute/position">position</a>
+</li><li> <a href="cn/XUL/Attribute/predicate">predicate</a>
+</li><li> <a href="cn/XUL/Attribute/preference">preference</a>
+</li><li> <a href="cn/XUL/Attribute/preference-editable">preference-editable</a>
+</li><li> <a href="cn/XUL/Attribute/primary">primary</a>
+</li><li> <a href="cn/XUL/Attribute/priority">priority</a>
+</li><li> <a href="cn/XUL/Attribute/properties">properties</a>
+</li><li> <a href="cn/XUL/Attribute/querytype">querytype</a>
+</li><li> <a href="cn/XUL/Attribute/readonly">readonly</a>
+</li><li> <a href="cn/XUL/Attribute/ref">ref</a>
+</li><li> <a href="cn/XUL/Attribute/rel">rel</a>
+</li><li> <a href="cn/XUL/Attribute/removeelement">removeelement</a>
+</li><li> <a href="cn/XUL/Attribute/resizeafter">resizeafter</a>
+</li><li> <a href="cn/XUL/Attribute/resizebefore">resizebefore</a>
+</li><li> <a href="cn/XUL/Attribute/rows">rows</a>
+</li><li> <a href="cn/XUL/Attribute/screenX">screenX</a>
+</li><li> <a href="cn/XUL/Attribute/screenY">screenY</a>
+</li><li> <a href="cn/XUL/Attribute/searchSessions">searchSessions</a>
+</li><li> <a href="cn/XUL/Attribute/searchlabel">searchlabel</a>
+</li><li> <a href="cn/XUL/Attribute/selected">selected</a>
+</li><li> <a href="cn/XUL/Attribute/selectedIndex">selectedIndex</a>
+</li><li> <a href="cn/XUL/Attribute/seltype">seltype</a>
+</li><li> <a href="cn/XUL/Attribute/setfocus">setfocus</a>
+</li><li> <a href="cn/XUL/Attribute/showcaret">showcaret</a>
+</li><li> <a href="cn/XUL/Attribute/showCommentColumn">showCommentColumn</a>
+</li><li> <a href="cn/XUL/Attribute/showcommentcolumn">showcommentcolumn</a>
+</li><li> <a href="cn/XUL/Attribute/showpopup">showpopup</a>
+</li><li> <a href="cn/XUL/Attribute/size">size</a>
+</li><li> <a href="cn/XUL/Attribute/sizemode">sizemode</a>
+</li><li> <a href="cn/XUL/Attribute/sizetopopup">sizetopopup</a>
+</li><li> <a href="cn/XUL/Attribute/smoothscroll">smoothscroll</a>
+</li><li> <a href="cn/XUL/Attribute/sort">sort</a>
+</li><li> <a href="cn/XUL/Attribute/sortActive">sortActive</a>
+</li><li> <a href="cn/XUL/Attribute/sortDirection">sortDirection</a>
+</li><li> <a href="cn/XUL/Attribute/sortResource">sortResource</a>
+</li><li> <a href="cn/XUL/Attribute/sortResource2">sortResource2</a>
+</li><li> <a href="cn/XUL/Attribute/spellcheck">spellcheck</a>
+</li><li> <a href="cn/XUL/Attribute/src">src</a>
+</li><li> <a href="cn/XUL/Attribute/state">state</a>
+</li><li> <a href="cn/XUL/Attribute/statedatasource">statedatasource</a>
+</li><li> <a href="cn/XUL/Attribute/statusbar">statusbar</a>
+</li><li> <a href="cn/XUL/Attribute/statustext">statustext</a>
+</li><li> <a href="cn/XUL/Attribute/style">style</a>
+</li><li> <a href="cn/XUL/Attribute/subject">subject</a>
+</li><li> <a href="cn/XUL/Attribute/substate">substate</a>
+</li><li> <a href="cn/XUL/Attribute/suppressonselect">suppressonselect</a>
+</li><li> <a href="cn/XUL/Attribute/tabindex">tabindex</a>
+</li><li> <a href="cn/XUL/Attribute/tabScrolling">tabScrolling</a>
+</li><li> <a href="cn/XUL/Attribute/tabscrolling">tabscrolling</a>
+</li><li> <a href="cn/XUL/Attribute/targets">targets</a>
+</li><li> <a href="cn/XUL/Attribute/template">template</a>
+</li><li> <a href="cn/XUL/Attribute/timeout">timeout</a>
+</li><li> <a href="cn/XUL/Attribute/title">title</a>
+</li><li> <a href="cn/XUL/Attribute/toolbarname">toolbarname</a>
+</li><li> <a href="cn/XUL/Attribute/tooltip">tooltip</a>
+</li><li> <a href="cn/XUL/Attribute/tooltiptext">tooltiptext</a>
+</li><li> <a href="cn/XUL/Attribute/tooltiptextnew">tooltiptextnew</a>
+</li><li> <a href="cn/XUL/Attribute/top">top</a>
+</li><li> <a href="cn/XUL/Attribute/type">type</a>
+</li><li> <a href="cn/XUL/Attribute/uri">uri</a>
+</li><li> <a href="cn/XUL/Attribute/userAction">userAction</a>
+</li><li> <a href="cn/XUL/Attribute/validate">validate</a>
+</li><li> <a href="cn/XUL/Attribute/value">value</a>
+</li><li> <a href="cn/XUL/Attribute/var">var</a>
+</li><li> <a href="cn/XUL/Attribute/wait-cursor">wait-cursor</a>
+</li><li> <a href="cn/XUL/Attribute/width">width</a>
+</li><li> <a href="cn/XUL/Attribute/windowtype">windowtype</a>
+</li><li> <a href="cn/XUL/Attribute/wrap">wrap</a>
+</li><li> <a href="cn/XUL/Attribute/wraparound">wraparound</a>
+</li></ul>
+<div class="noinclude">
+</div>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/label/index.html b/files/zh-cn/mozilla/tech/xul/attribute/label/index.html
new file mode 100644
index 0000000000..1846c63a8e
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/label/index.html
@@ -0,0 +1,41 @@
+---
+title: label
+slug: Mozilla/Tech/XUL/Attribute/label
+tags:
+ - XUL Attributes
+ - XUL Reference
+translation_of: Archive/Mozilla/XUL/Attribute/label
+---
+<div class="noinclude">
+ <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+<dl>
+ <dt>
+ <code id="a-label"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/label">label</a></code></dt>
+ <dd>
+ Type: <em>string</em></dd>
+ <dd>
+ The label that will appear on the element. If this is left out, no text appears.<br>
+ label 在元素上显示。如果左侧出界,则不显示任何文字。</dd>
+</dl>
+<div class="noinclude">
+ <h3 id="See_also" name="See_also">See also</h3>
+ <ul>
+ <li><a href="/cn/XUL/Attribute/treeitem.label" title="cn/XUL/Attribute/treeitem.label">treeitem.label</a>, <code><a href="/cn/XUL/label" title="cn/XUL/label">&lt;label&gt;</a></code> element</li>
+ </ul>
+ <h4 id="Examples_in_JavaScript" name="Examples_in_JavaScript">Examples in JavaScript</h4>
+ <pre>&lt;label value="Whaw" id="the-big-label" command="the-big-button"/&gt;
+&lt;button id="the-big-button" label="Click me"
+ oncommand="alert(document.getElementById('the-big-label').value)"/&gt;
+
+&lt;label id="myLabel" value="My label"/&gt;
+&lt;button label="Click me"
+ oncommand="document.getElementById('myLabel').setAttribute('value','Value changed');" /&gt;
+
+&lt;checkbox label="my Checkbox" id="myCheckboX"/&gt;
+&lt;button label="Another click"
+ oncommand="document.getElementById('myCheckboX').setAttribute('label','Still not checked');"/&gt;
+&lt;button label="Show label of checkbox"
+ oncommand="alert( document.getElementById('myCheckboX').getAttribute('label') )"/&gt;
+</pre>
+</div>
+<p></p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/max/index.html b/files/zh-cn/mozilla/tech/xul/attribute/max/index.html
new file mode 100644
index 0000000000..93eb88d4f7
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/max/index.html
@@ -0,0 +1,20 @@
+---
+title: max
+slug: Mozilla/Tech/XUL/Attribute/max
+translation_of: Archive/Mozilla/XUL/Attribute/max
+---
+<div class="noinclude">
+ <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+<dl>
+ <dd>
+ 类型:整数</dd>
+ <dd>
+ 设置刻度条控件(scale元素)或者数字输入框控件(type属性为number的textbox元素)中能输入的最大数字.刻度条控件中,该属性的默认值为100,数字输入框中,该属性的默认值为无穷大.</dd>
+</dl>
+<div class="noinclude">
+ <h3 id="See_also" name="See_also">相关链接</h3>
+ <ul>
+ <li><a href="/en/XUL/Attribute/progressmeter.max" title="en/XUL/Attribute/progressmeter.max">progressmeter.ma</a></li>
+ </ul>
+</div>
+<p> </p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/menuitem.key/index.html b/files/zh-cn/mozilla/tech/xul/attribute/menuitem.key/index.html
new file mode 100644
index 0000000000..b4239b866d
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/menuitem.key/index.html
@@ -0,0 +1,23 @@
+---
+title: menuitem.key
+slug: Mozilla/Tech/XUL/Attribute/menuitem.key
+tags:
+ - XUL Attributes
+translation_of: Archive/Mozilla/XUL/Attribute/menuitem.key
+---
+<div class="noinclude">
+ <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+<dl>
+ <dt>
+ <code id="a-menuitem.key"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/menuitem.key">key</a></code></dt>
+ <dd>
+ Type:
+ <i>
+ element id</i>
+ </dd>
+ <dd>
+ Set to the <code id="a-id"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/id">id</a></code> of a <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/key" title="key">key</a></code> element whose key shortcut is displayed in the <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/menuitem" title="menuitem">menuitem</a></code>.</dd>
+</dl>
+<div class="noinclude">
+  </div>
+<p></p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/menuitem.name/index.html b/files/zh-cn/mozilla/tech/xul/attribute/menuitem.name/index.html
new file mode 100644
index 0000000000..a485138846
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/menuitem.name/index.html
@@ -0,0 +1,38 @@
+---
+title: menuitem.name
+slug: Mozilla/Tech/XUL/Attribute/menuitem.name
+tags:
+ - XUL Attributes
+translation_of: Archive/Mozilla/XUL/Attribute/menuitem.name
+---
+<div class="noinclude">
+ <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+<dl>
+ <dt>
+ <code id="a-menuitem.name"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/menuitem.name">name</a></code></dt>
+ <dd>
+ Type:
+ <i>
+ string name</i>
+ </dd>
+ <dd>
+ Radio <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/menuitem" title="menuitem">menuitem</a></code>s with the same name as put into a group. Only one <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/menuitem" title="menuitem">menuitem</a></code> in each radio group can be checked at a time.</dd>
+</dl>
+<div class="noinclude">
+ <h3 id="Example" name="Example">Example</h3>
+ <pre>&lt;toolbox&gt;
+ &lt;menubar id="planets-menubar"&gt;
+ &lt;menu id="planet-menu" label="Planet"&gt;
+ &lt;menupopup&gt;
+ &lt;menuitem id="jupiter" label="Jupiter" type="radio" name="planet"/&gt;
+ &lt;menuitem id="saturn" label="Saturn" type="radio" name="planet" checked="true"/&gt;
+ &lt;menuitem id="uranus" label="Uranus" type="radio" name="planet"/&gt;
+ &lt;/menupopup&gt;
+ &lt;/menu&gt;
+ &lt;/menubar&gt;
+&lt;/toolbox&gt;
+</pre>
+ <h3 id="See_also" name="See_also">See also</h3>
+ <p><a href="cn/XUL/Attribute/name">name</a> and <a href="cn/XUL_Tutorial/More_Menu_Features#Adding_Checkmarks_to_Menus">menus in the XUL Tutorial</a></p>
+</div>
+<p></p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/menuitem.type/index.html b/files/zh-cn/mozilla/tech/xul/attribute/menuitem.type/index.html
new file mode 100644
index 0000000000..872c50331b
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/menuitem.type/index.html
@@ -0,0 +1,28 @@
+---
+title: menuitem.type
+slug: Mozilla/Tech/XUL/Attribute/menuitem.type
+tags:
+ - XUL Attributes
+translation_of: Archive/Mozilla/XUL/Attribute/menuitem.type
+---
+<div class="noinclude">
+ <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+<dl>
+ <dt>
+ <code id="a-menuitem.type"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/menuitem.type">type</a></code></dt>
+ <dd>
+ Type:
+ <i>
+ one of the values below</i>
+ </dd>
+ <dd>
+ Can be used to create checkable menuitems or for radio button menuitems.</dd>
+</dl>
+<ul>
+ <li><code>checkbox</code>: The <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/menuitem" title="menuitem">menuitem</a></code> is checked. The <code id="a-checked"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/checked">checked</a></code> attribute determines whether the menuitem is checked or not.</li>
+ <li><code>radio</code>: The <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/menuitem" title="menuitem">menuitem</a></code> becomes part of a radio group. Other menuitems that have the same value for their <code id="a-name"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/name">name</a></code> attributes are part of the same <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/radio" title="radio">radio</a></code> group. Only one menuitem in the same radio group can be checked at once.</li>
+</ul>
+<p>More information on adding checkmarks to menus in the <a href="cn/XUL_Tutorial/More_Menu_Features#Adding_Checkmarks_to_Menus">XUL tutorial</a></p>
+<div class="noinclude">
+  </div>
+<p></p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/min/index.html b/files/zh-cn/mozilla/tech/xul/attribute/min/index.html
new file mode 100644
index 0000000000..9646b1da96
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/min/index.html
@@ -0,0 +1,16 @@
+---
+title: min
+slug: Mozilla/Tech/XUL/Attribute/min
+translation_of: Archive/Mozilla/XUL/Attribute/min
+---
+<div class="noinclude">
+ <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+<dl>
+ <dt>
+ <code id="a-min"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/min">min</a></code></dt>
+ <dd>
+ 类型:整数</dd>
+ <dd>
+ 该控件可以有的最小的整数值,默认值为0.</dd>
+</dl>
+<p> </p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/name/index.html b/files/zh-cn/mozilla/tech/xul/attribute/name/index.html
new file mode 100644
index 0000000000..cd1695a84c
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/name/index.html
@@ -0,0 +1,16 @@
+---
+title: name
+slug: Mozilla/Tech/XUL/Attribute/name
+tags:
+ - XUL Attributes
+translation_of: Archive/Mozilla/XUL/Attribute/name
+---
+<div class="noinclude">
+ <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span>
+ <h3 id="See_also" name="See_also">See also</h3>
+ <ul>
+ <li><a href="cn/XUL/Attribute/menuitem.name">menuitem.name</a></li>
+ <li><a href="cn/XUL/Attribute/preference.name">preference.name</a></li>
+ </ul>
+</div>
+<p></p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/onpopupshowing/index.html b/files/zh-cn/mozilla/tech/xul/attribute/onpopupshowing/index.html
new file mode 100644
index 0000000000..ec821daefe
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/onpopupshowing/index.html
@@ -0,0 +1,21 @@
+---
+title: onpopupshowing
+slug: Mozilla/Tech/XUL/Attribute/onpopupshowing
+translation_of: Archive/Mozilla/XUL/Attribute/onpopupshowing
+---
+<div class="noinclude">
+ <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+<dl>
+ <dt>
+ <code id="a-onpopupshowing"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/onpopupshowing">onpopupshowing</a></code></dt>
+ <dd>
+ Type: <em>script code</em></dd>
+ <dd>
+ This event is sent to a popup just before it is opened. This handler is usually used to dynamically set the contents when the user requests to display it. Returning <code>false</code> from this event handler prevents the popup from appearing.</dd>
+ <dd>
+ 该事件在 popup 打开之前传给它。它用于动态生成菜单项。如果返回 false 值,则 popup 将不会显示菜单项。</dd>
+</dl>
+<div class="noinclude">
+ <p></p>
+</div>
+<p> </p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/onpopupshown/index.html b/files/zh-cn/mozilla/tech/xul/attribute/onpopupshown/index.html
new file mode 100644
index 0000000000..a94af052a2
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/onpopupshown/index.html
@@ -0,0 +1,21 @@
+---
+title: onpopupshown
+slug: Mozilla/Tech/XUL/Attribute/onpopupshown
+translation_of: Archive/Mozilla/XUL/Attribute/onpopupshown
+---
+<div class="noinclude">
+ <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+<dl>
+ <dt>
+ <code id="a-onpopupshown"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/onpopupshown">onpopupshown</a></code></dt>
+ <dd>
+ Type: <em>script code</em></dd>
+ <dd>
+ This event is sent to a popup after it has been opened, much like the <code>onload</code> event is sent to a window when it is opened.</dd>
+ <dd>
+ 该事件在 popup 打开之后触发,与 window 的 onload 事件比较类似。</dd>
+</dl>
+<div class="noinclude">
+ <p></p>
+</div>
+<p> </p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/orient/index.html b/files/zh-cn/mozilla/tech/xul/attribute/orient/index.html
new file mode 100644
index 0000000000..aa1c735a6c
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/orient/index.html
@@ -0,0 +1,16 @@
+---
+title: orient
+slug: Mozilla/Tech/XUL/Attribute/orient
+translation_of: Archive/Mozilla/XUL/Attribute/orient
+---
+<p><strong>布局(orient)</strong></p>
+<dl>
+ <dd>
+ 值类型:可以是下面值中的一种。<br>
+ 指定了子控件的布局(orient)为水平分布的(horizontally)或者是垂直分布的(vertically)。默认值依赖于控件本身。你也可以使用<a href="cn/-moz-box-orient">-moz-box-orient</a>中的样式属性。
+ <ul>
+ <li><strong>horizontally</strong>: 子控件会被按照在xul源文件中出现的位置依次布置在一行中。</li>
+ <li><strong>vertically</strong>: 子控件会被按照在xul源文件中出现的位置依次布置在一列中。</li>
+ </ul>
+ </dd>
+</dl>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/pending/index.html b/files/zh-cn/mozilla/tech/xul/attribute/pending/index.html
new file mode 100644
index 0000000000..0ab9643c8f
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/pending/index.html
@@ -0,0 +1,15 @@
+---
+title: pending
+slug: Mozilla/Tech/XUL/Attribute/pending
+translation_of: Archive/Mozilla/XUL/Attribute/pending
+---
+<div class="noinclude">
+ <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+<dl>
+ <dt>
+ <code id="a-pending"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/pending">pending</a></code> </dt>
+ <dd>
+ Type: <em>boolean</em></dd>
+ <dd>
+ This attribute is set to <code>true</code> if the tab is currently in the process of being restored by the session store service. Once the tab is restored, this attribute is removed. You can determine if a tab is being restored by checking to see if <code>hasAttribute("pending")</code> is <code>true</code>. If the user has turned on the "Don't load tabs until selected" preference, the <code id="a-pending"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/pending">pending</a></code> attribute is set on tabs until they get loaded.</dd>
+</dl>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/persist/index.html b/files/zh-cn/mozilla/tech/xul/attribute/persist/index.html
new file mode 100644
index 0000000000..b1d30d5a59
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/persist/index.html
@@ -0,0 +1,24 @@
+---
+title: persist
+slug: Mozilla/Tech/XUL/Attribute/persist
+tags:
+ - XUL Attributes
+translation_of: Archive/Mozilla/XUL/Attribute/persist
+---
+<div class="noinclude">
+ <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+<dl>
+ <dt>
+ <code id="a-persist"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/persist">persist</a></code></dt>
+ <dd>
+ Type:
+ <i>
+ space-separated list of attribute names</i>
+ </dd>
+ <dd>
+ A space-separated list of attributes that are maintained when the window is closed. When the window is re-opened, the values of persistent attributes are restored. In Mozilla, persistent attributes are stored in the per-profile file <code>localstore.rdf</code>. Persistence can also be stored using the <code>document.persist</code> function. In order for persistence to work, the element must also have an <code id="a-id"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/id">id</a></code>.</dd>
+</dl>
+<p> </p>
+<div class="noinclude">
+  </div>
+<p></p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/selected/index.html b/files/zh-cn/mozilla/tech/xul/attribute/selected/index.html
new file mode 100644
index 0000000000..47971cd8c8
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/selected/index.html
@@ -0,0 +1,28 @@
+---
+title: selected
+slug: Mozilla/Tech/XUL/Attribute/selected
+tags:
+ - XUL Attributes
+translation_of: Archive/Mozilla/XUL/Attribute/selected
+---
+<div class="noinclude">
+ <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+<dl>
+ <dt>
+ <code id="a-selected"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/selected">selected</a></code></dt>
+ <dd>
+ Type:
+ <i>
+ boolean</i>
+ </dd>
+ <dd>
+ Indicates whether the element is selected or not. This value is read-only. To change the selection, set either the <code><span><a href="https://developer.mozilla.org/zh-CN/docs/XUL/Property/selectedIndex">selectedIndex</a></span></code> or <code><span><a href="https://developer.mozilla.org/zh-CN/docs/XUL/Property/selectedItem">selectedItem</a></span></code> property of the containing element.</dd>
+</dl>
+<div class="noinclude">
+ <h3 id="See_also" name="See_also">See also</h3>
+ <ul>
+ <li><a href="cn/XUL/Attribute/prefpane.selected">prefpane.selected</a></li>
+ <li><a href="cn/XUL/Attribute/tab.selected">tab.selected</a></li>
+ </ul>
+</div>
+<p></p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/selectedindex/index.html b/files/zh-cn/mozilla/tech/xul/attribute/selectedindex/index.html
new file mode 100644
index 0000000000..72dd679801
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/selectedindex/index.html
@@ -0,0 +1,15 @@
+---
+title: selectedIndex
+slug: Mozilla/Tech/XUL/Attribute/selectedIndex
+translation_of: Archive/Mozilla/XUL/Attribute/selectedIndex
+---
+<div class="noinclude">
+ <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+<dl>
+ <dt>
+ <code id="a-selectedIndex"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/selectedIndex">selectedIndex</a></code></dt>
+ <dd>
+ 类型: 整数</dd>
+ <dd>
+ 获取或设置当前所选面板的索引号,索引号从0开始.</dd>
+</dl>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/tabindex/index.html b/files/zh-cn/mozilla/tech/xul/attribute/tabindex/index.html
new file mode 100644
index 0000000000..c5e54fdd1c
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/tabindex/index.html
@@ -0,0 +1,18 @@
+---
+title: tabindex
+slug: Mozilla/Tech/XUL/Attribute/tabindex
+tags:
+ - XUL Attributes
+translation_of: Archive/Mozilla/XUL/Attribute/tabindex
+---
+<div class="noinclude"><span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+
+<dl>
+ <dt><code id="a-tabindex"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/tabindex">tabindex</a></code></dt>
+ <dd>Type:<em>integer</em></dd>
+ <dd>当用户按下 "<kbd>tab</kbd>" 键时焦点移动到元素上的顺序。<code>tabindex</code> 数字越大,顺序越靠后。</dd>
+</dl>
+
+<div class="noinclude"> </div>
+
+<p></p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/validate/index.html b/files/zh-cn/mozilla/tech/xul/attribute/validate/index.html
new file mode 100644
index 0000000000..a56181d8b7
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/validate/index.html
@@ -0,0 +1,27 @@
+---
+title: validate
+slug: Mozilla/Tech/XUL/Attribute/validate
+tags:
+ - XUL Attributes
+translation_of: Archive/Mozilla/XUL/Attribute/validate
+---
+<div class="noinclude">
+ <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+<dl>
+ <dt>
+ <code id="a-validate"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/validate">validate</a></code></dt>
+ <dd>
+ Type:
+ <i>
+ one of the values below</i>
+ </dd>
+ <dd>
+ This attribute indicates whether to load the image from the cache or not. This would be useful if the images are stored remotely or you plan on swapping the image frequently. The following values are accepted, or leave out the attribute entirely for default handling:</dd>
+</dl>
+<ul>
+ <li><code>always</code>: The image is always checked to see whether it should be reloaded.</li>
+ <li><code>never</code>: The image will be loaded from the cache if possible.</li>
+</ul>
+<div class="noinclude">
+  </div>
+<p></p>
diff --git a/files/zh-cn/mozilla/tech/xul/attribute/value/index.html b/files/zh-cn/mozilla/tech/xul/attribute/value/index.html
new file mode 100644
index 0000000000..f436308d89
--- /dev/null
+++ b/files/zh-cn/mozilla/tech/xul/attribute/value/index.html
@@ -0,0 +1,30 @@
+---
+title: value
+slug: Mozilla/Tech/XUL/Attribute/value
+tags:
+ - XUL Attributes
+translation_of: Archive/Mozilla/XUL/Attribute/value
+---
+<div class="noinclude">
+ <span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/zh-CN/docs/XUL_Reference">XUL Reference home</a></span></div>
+<dl>
+ <dt>
+ <code id="a-value"><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Attribute/value">value</a></code></dt>
+ <dd>
+ Type:
+ <i>
+ string</i>
+ </dd>
+ <dd>
+ The string attribute allows you to associate a data value with an element. It is not used for any specific purpose, but you can access it with a script for your own use.</dd>
+</dl>
+<div class="noinclude">
+ <h3 id="See_also" name="See_also">See also</h3>
+ <ul>
+ <li><a href="cn/XUL/Attribute/label.value">label.value</a></li>
+ <li><a href="cn/XUL/Attribute/progressmeter.value">progressmeter.value</a></li>
+ <li><a href="cn/XUL/Attribute/textbox.value">textbox.value</a></li>
+ <li><a href="cn/XUL/Attribute/textnode.value">textnode.value</a></li>
+ </ul>
+</div>
+<p></p>