Document Element |
oncopy | The script to be run when the user copies the content of an element. |
<!-- Executes go() function -->
<ruby oncopy="go()">Ruby Annotations</ruby>
|
oncut | The script to be run when the user cuts the content of an element. |
<!-- Executes go() function -->
<ruby oncut="go()">Ruby Annotations</code>
|
onpaste | The script to be run when the user pastes some content into an element. |
<!-- Executes go() function -->
<ruby onpaste="go()">Ruby Annotations</code>
|
Drag and Drop |
ondrag | The script to be run when an element is dragged. |
<!-- Executes go() function -->
<ruby ondrag="go()">Ruby Annotations</code>
|
ondragend | The script to be run when an element has stopped being dragged. |
<!-- Executes go() function -->
<ruby ondragend="go()">Ruby Annotations</code>
|
ondragenter | The script to be run when an element has been dragged to a valid drop target. |
<!-- Executes go() function -->
<ruby ondragenter="go()">Ruby Annotations</code>
|
ondragleave | The script to be run when an element leaves a valid drop target. |
<!-- Executes go() function -->
<ruby ondragleave="go()">Ruby Annotations</code>
|
ondragover | The script to be run when an element is being dragged over a valid drop target. |
<!-- Executes go() function -->
<ruby ondragover="go()">Ruby Annotations</code>
|
ondragstart | The script to be run at the start of a drag operation. |
<!-- Executes go() function -->
<ruby ondragstart="go()">Ruby Annotations</code>
|
ondrop | The script to be run when a dragged element is being dropped. |
<!-- Executes go() function -->
<ruby ondrop="go()">Ruby Annotations</code>
|
Form |
onblur | The script to be run when the element loses focus. |
<!-- Executes go() function -->
<ruby onblur="go()">Ruby Annotations</code>
|
onchange | The script to be run when object changed and attempt to leave field. |
<!-- Executes go() function -->
<ruby onchange="go()">Ruby Annotations</code>
|
oncontextmenu | The script to be run when a context menu is triggered. |
<!-- Executes go() function -->
<ruby oncontextmenu="go()">Ruby Annotations</code>
|
onfocus | The script to be run when the element gets focus. |
<!-- Executes go() function -->
<ruby onfocus="go()">Ruby Annotations</code>
|
oninput | The script to be run when an element gets user input. |
<!-- Executes go() function -->
<ruby oninput="go()">Ruby Annotations</code>
|
oninvalid | The script to be run when an element is invalid. |
<!-- Executes go() function -->
<ruby oninvalid="go()">Ruby Annotations</code>
|
onreset | The script to be run when a dragged element is being dropped. |
<!-- Executes go() function -->
<ruby onreset="go()">Ruby Annotations</code>
|
onselect | The script to be run when some or all of the contents of an object are selected. |
<!-- Executes go() function -->
<ruby onselect="go()">Ruby Annotations</code>
|
onsubmit | The script to be run when a form is submitted. |
<!-- Executes go() function -->
<ruby onsubmit="go()">Ruby Annotations</code>
|
Keyboard |
onkeydown | The script to be run when an element is in focus and keyboard key is pressed down. |
<!-- Executes go() function -->
<ruby onkeydown="go()">Ruby Annotations</code>
|
onkeypress | The script to be run when an element is in focus and keyboard key is pressed down and released. |
<!-- Executes go() function -->
<ruby onkeypress="go()">Ruby Annotations</code>
|
onkeyup | The script to be run when an element is in focus and keyboard key is released. |
<!-- Executes go() function -->
<ruby onkeyup="go()">Ruby Annotations</code>
|
Media |
onabort | The script code to be run on abort. |
<!-- Executes go() function -->
<ruby onabort="go()">Ruby Annotations</code>
|
oncanplay | The script to be run when a file has buffered enough so it is ready to start playing. |
<!-- Executes go() function -->
<ruby oncanplay="go()">Ruby Annotations</code>
|
oncanplaythrough | The script to be run when a file can be played all the way to the end without further need of buffering. |
<!-- Executes go() function -->
<ruby oncanplaythrough="go()">Ruby Annotations</code>
|
oncuechange | The script to be run when the cue changes when using the track element. |
<!-- Executes go() function -->
<ruby oncuechange="go()">Ruby Annotations</code>
|
ondurationchange | The script to be run when the length of the media is changed. |
<!-- Executes go() function -->
<ruby ondurationchange="go()">Ruby Annotations</code>
|
onemptied | The script to be run when a media resource element suddenly becomes empty, usually due to an error. |
<!-- Executes go() function -->
<ruby onemptied="go()">Ruby Annotations</code>
|
onended | The script to be run when the media has reach the end. |
<!-- Executes go() function -->
<ruby onended="go()">Ruby Annotations</code>
|
onloadeddata | The script to be run when media data is loaded and playback can start. |
<!-- Executes go() function -->
<ruby onloadeddata="go()">Ruby Annotations</code>
|
onloadedmetadata | The script to be run when metadata has been loaded. |
<!-- Executes go() function -->
<ruby onloadedmetadata="go()">Ruby Annotations</code>
|
onloadstart | The script to be run whenthe media resource has started loading. |
<!-- Executes go() function -->
<ruby onloadstart="go()">Ruby Annotations</code>
|
onpause | The script to be run when the media resource has been paused. |
<!-- Executes go() function -->
<ruby onpause="go()">Ruby Annotations</code>
|
onplay | The script to be run when the media resource starts playback. |
<!-- Executes go() function -->
<ruby onplay="go()">Ruby Annotations</code>
|
onplaying | The script to be run when when playback has already begun. |
<!-- Executes go() function -->
<ruby onplaying="go()">Ruby Annotations</code>
|
onprogress | The script to be run when the browser is fetching the media data. |
<!-- Executes go() function -->
<ruby onprogress="go()">Ruby Annotations</code>
|
onratechange | The script to be run when the playback rate changes. |
<!-- Executes go() function -->
<ruby onratechange="go()">Ruby Annotations</code>
|
onseeked | The script to be run when the seeking attribute is set to false indicating that seeking has finished. |
<!-- Executes go() function -->
<ruby onseeked="go()">Ruby Annotations</code>
|
onseeking | The script to be run when the seeking attribute is set to true indicating that seeking is currently active. |
<!-- Executes go() function -->
<ruby onseeking="go()">Ruby Annotations</code>
|
onstalled | The script to be run when the browser is unable to continue fetching media data. |
<!-- Executes go() function -->
<ruby onstalled="go()">Ruby Annotations</code>
|
onsuspend | The script to be run when media data has stopped before being completely loaded. |
<!-- Executes go() function -->
<ruby onsuspend="go()">Ruby Annotations</code>
|
ontimeupdate | The script to be run when the media resources current playback position has changed. |
<!-- Executes go() function -->
<ruby ontimeupdate="go()">Ruby Annotations</code>
|
onvolumechange | The script to be run when the volume has changed or been muted. |
<!-- Executes go() function -->
<ruby onvolumechange="go()">Ruby Annotations</code>
|
onwaiting | The script to be run when the media resource has paused but is expected to resume. |
<!-- Executes go() function -->
<ruby onwaiting="go()">Ruby Annotations</code>
|
Mouse |
onclick | The script to be run when when a mouse is clicked on an element. |
<!-- Executes go() function -->
<ruby onclick="go()">Ruby Annotations</code>
|
ondblclick | The script to be run when a mouse is double clicked on an element. |
<!-- Executes go() function -->
<ruby ondblclick="go()">Ruby Annotations</code>
|
onmousedown | The script to be run when he mouse button is pressed down while the cursor is over an element. |
<!-- Executes go() function -->
<ruby onmousedown="go()">Ruby Annotations</code>
|
onmousemove | The script to be run when the mouse button is moved. |
<!-- Executes go() function -->
<ruby onmousemove="go()">Ruby Annotations</code>
|
onmouseout | The script to be run when the mouse cursor moves off an element. |
<!-- Executes go() function -->
<ruby onmouseout="go()">Ruby Annotations</code>
|
onmouseover | The script to be run when the mouse cursor moves over an element. |
<!-- Executes go() function -->
<ruby onmouseover="go()">Ruby Annotations</code>
|
onmouseup | The script to be run when the mouse button is released while the cursor is over the element. |
<!-- Executes go() function -->
<ruby onmouseup="go()">Ruby Annotations</code>
|
onwheel | The script to be run when the mouse wheel rolls up or down over an element. |
<!-- Executes go() function -->
<ruby onwheel="go()">Ruby Annotations</code>
|
Scroll |
onscroll | The script code to be run when the scrollbar of an element is being scrolled. |
<!-- Executes go() function -->
<ruby onscroll="go()">Ruby Annotations</ruby>
|
Window - NONE |