left side open new window



Write a javascript to set the window position.


<html>            
  <head>
    <script>
    
        function openWindow()
        {
            window.open("","","left=0,top=0,width=200,height=100");      
        }

    </script>
  </head>
<body>
    
    <p> Click to open a new window  </p>
    <input type="button" value="open new window" onclick="openWindow()"/>

  </body>
</html>

Output: