'onMoveEnd' Example : onMoveEnd « Event Handlers Reference « JavaScript Reference

Home
JavaScript Reference
1.Event Handlers Reference
2.Javascript Collections
3.Javascript Methods
4.Javascript Objects
5.Javascript Properties
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>

    
      
      
Related examples in the same category
1.'onMoveEnd' Syntax and Note
2.'onMoveEnd' Properties
3.'onMoveEnd' is applied to
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.