mozilla

Compare Revisions

Event.button

Change Revisions

Revision 17642:

Revision 17642 by Matej Lednar on

Revision 17643:

Revision 17643 by Sheppy on

Title:
event.button
event.button
Slug:
DOM/event.button
DOM/event.button
Tags:
DOM, Gecko, "Gecko DOM Reference"
DOM, Gecko, "Gecko DOM Reference"
Content:

Revision 17642
Revision 17643
n29      Property returns an integer value indicating the button than29      This property returns an integer value indicating the butto
>t changed state.>n that changed state.
n32      <li>0 for standard 'click', usually left buttonn32      <li>0 for standard "click;" this is usually usually the lef
 >t button.
n34      <li>1 for middle button, usually wheel-clickn34      <li>1 for middle button; this is usually a click on the scr
 >oll wheel's button.
n36      <li>2 for right button, usually right-clickn36      <li>2 for right button; this is usually a right-click.
n39    <h4>n
40      Note
41    </h4>
n43      Note that this convention is not followed in Internet Explon40      <strong>Note:</strong> This convention is not followed in I
>rer: see <a class="external" href="http://www.quirksmode.org/js/e>nternet Explorer: see <a class="external" href="http://www.quirks
>vents_properties.html#button" title="http://www.quirksmode.org/js>mode.org/js/events_properties.html#button" title="http://www.quir
>/events_properties.html#button">QuirksMode for details</a>.>ksmode.org/js/events_properties.html#button">QuirksMode for detai
 >ls</a>.
t51    <pre>t48    <pre class="brush: html">

Back to History