JavaScript Reference/Event Handlers Reference/onLoseCapture

Материал из Web эксперт
Версия от 11:22, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

"onLoseCapture" Example

   <source lang="javascript">
   

<head> </head> <body onload="captureMode.setCapture()"

     onclick="captureMode.releaseCapture()">

Mouse capture is currently turned on. To terminate mouse capture mode, click this page!

</body>


     </source>
   
  


"onLoseCapture" is applied to

   <source lang="javascript">

+----------------+--------------------------------------------------------------+ | Applied_To |<a> <address> | | |<applet> <area> | | | |

| |
|

| |<body>
| | |<button> |

| |
|

| | <custom> | | |

|

| |<dir>
| | |
| | | <embed> | | |<fieldset> | | |<form> <hn> | | |
|

| |<img> <input type="button"> | | |<input type="checkbox"> <input type="file"> | | |<inputtype="hidden"> <input type="image"> | | |<input type="password"> <inputtype="radio"> | | |<input type="reset"> <input type="submit"> | | |<input type="text"> | | |<label> <legend> |

| |
  • <listing> | | |<map> <marquee> | | |<menu> <nobr> | | |<noframes> <object> | | |
      <option> | | |

                               |
      |                |                                                     |
      |                |<select>                                               |
      |                |                                                |
      |                |                                                 |
      |                |                                                  |
      |                |<tbody>                                                   |
      |                |                             
        | | | <xmp> | +----------------+--------------------------------------------------------------+ </source>

        "onLoseCapture" Properties

        <source lang="javascript"> +----------------+--------------------------------------------------------------+ | Properties |altKey altLeft | | |clientX clientY | | |ctrlKey ctrlLeft | | |offsetX offsetY | | |screenX screenY | | |shiftKey shiftLeft | | |srcElement type | | |x y | +----------------+--------------------------------------------------------------+

        </source>



        "onLoseCapture" Syntax and Note

        <source lang="javascript"> Note:

        This event fires when an element that is currently trapping mouse events loses that ability.

        Syntax:


        </source>

      |

      | |<textarea> <tfoot> |

      | |
      <thead> | | |