'onMoveStart' Example : onMoveStart : Event onMethod JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Event onMethod » onMoveStart »

 

'onMoveStart' 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 onmovestart="function1()">
<div contenteditable="true">
<div style="width:300px;
            height:300px; 
            color:yellow; 
            background-color:black; 
            position:absolute; 
            left: 50px; 
            top: 150px">Select and Drag me with the mouse.</div>
</div>
</body>
</html>

    
      
      



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Event onMethod
» onMoveStart