title: onmousemove event
body: <p>I want to change the left and top style element with javascript on an onmousemove event, but it does not work.</p>
  
  <p>My code for the onmousemove event:</p>
  
  <pre><code>function mymove(e)
  {
  var event=new MouseEvent(e);
      x = 20;
      y = 10;     
  
      document.getElementById('mye').style.left = event.pageX + x+'px' ;
      document.getElementById('mye').style.top = event.pageY - y+'px';
  
  
      }
  </code></pre>