JavaScript Reference/Event Handlers Reference/onMoveEnd
Содержание
"onMoveEnd" Example
<html>
<head>
<script language="JavaScript">
<!--
document.execCommand("2D-position",false,true);
function function1(){
window.onmove = alert("The div element has been dragged");
}
-->
</script>
</head>
<body bottommargin=150 onmoveend="function1()">
<div contenteditable="true">
<div style="width:300px;
height:75px;
color:yellow;
background-color:black;
position:absolute;">Select and Drag me with the mouse.</div>
</div>
</body>
</html>
"onMoveEnd" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<a> <acronym> |
| |<address> <applet> |
| |<area> <b> |
| |<bdo> <big> |
| |<blockquote> <body> |
| |<button> <caption> |
| |<center> <cite> |
| |<custom> <dd> |
| |<dfn> <dir> |
| |<div> <dl> |
| |document <dt> |
| |<em> <embed> |
| |<fieldset> <font> |
| |<form> <frame> |
| |<frameset> <hn> |
| |<hr> <i> |
| |<iframe> <img> |
| |<input type="button"> <inputtype="checkbox"> |
| |<input type="file"> <input type="hidden"> |
| |<input type="image"> <input type="password"> |
| |<input type="radio"> <input type="reset"> |
| |<inputtype="submit"> <input type="text"> |
| |<ins> <isindex> |
| |<kbd> <label> |
| |<legend> <li> |
| |<listing> <marquee> |
| |<menu> <object> |
| |<ol> <p> |
| |<pre> <q> |
| |<rt> <ruby> |
| |<s> <samp> |
| |<select> <small> |
| |<span> <strike> |
| |<strong> <sub> |
| |<sup> <table> |
| |<tbody> <td> |
| |<textarea> <tfoot> |
| |<th> <thead> |
| |<tr> <tt> |
| |<u> <ul> |
| |<var> window |
| |<xmp> |
+----------------+--------------------------------------------------------------+
"onMoveEnd" Properties
+----------------+--------------------------------------------------------------+
| Properties |altKey altLeft |
| |cancelBubble clientX |
| |clientY ctrlKey |
| |ctrlLeft offsetX |
| |offsetY returnValue |
| |screenX screenY |
| |shiftKey shiftLeft |
| |srcElement type |
| |x y |
+----------------+--------------------------------------------------------------+
"onMoveEnd" Syntax and Note
Note:
This event fires when an object that supports drag-and-drop stops moving.