mozilla

Compare Revisions

menuitem

Change Revisions

Revision 72495:

Revision 72495 by Sheppy on

Revision 72496:

Revision 72496 by pippijn on

Title:
menuitem
menuitem
Slug:
XUL/menuitem
XUL/menuitem
Tags:
"XUL Reference", "XUL Elements"
"XUL Reference", "XUL Elements"
Content:

Revision 72495
Revision 72496
n40    <h3 name="Examples">n40    <h3 id="Examples" name="Examples">
n46    <pre class="brush: xml">n46    <pre>
n56    <p>n
57      Starting in Gecko 8.0 {{ geckoRelease("8.0") }}, you can al
>so place the label text in the content of the <code>&lt;menuitem& 
>gt;</code> element: 
58    </p>
59    <pre class="deki-transform">
60&lt;menulist&gt;
61  &lt;menupopup&gt;
62    &lt;menuitem value="1"&gt;option 1&lt;/menuitem&gt;
63    &lt;menuitem value="2"&gt;option 2&lt;/menuitem&gt;
64    &lt;menuitem value="3"&gt;option 3&lt;/menuitem&gt;
65    &lt;menuitem value="4"&gt;option 4&lt;/menuitem&gt;
66  &lt;/menupopup&gt;
67&lt;/menulist&gt;
68</pre>
69    <h3 name="Attributes">56    <h3 id="Attributes" name="Attributes">
n87    <h3 name="Properties">n74    <h3 id="Properties" name="Properties">
n93    <h3 name="Methods">n80    <h3 id="Methods" name="Methods">
n99    <h3 name="Style_classes">n86    <h3 id="Style_classes" name="Style_classes">
t105    <h3 name="Related">t92    <h3 id="Related" name="Related">

Back to History