title: automatic open pop-up new window using Javascript
body: <p>How to open pop-up new window when load page using Javascript?</p>
  
  <p>I want, when a website load, it will automatic open popup new window.</p>
  
  <p>I use the following:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  function open_on_entrance(url,name)
  { 
     window.open('http://www.google.com','google', ' menubar,resizable,dependent,status,width=300,height=200,left=10,top=10')
  }
  &lt;/script&gt;
  &lt;body onload="open_on_entrance()"&gt;&lt;/body&gt;
  </code></pre>
  
  <p>Not work??</p>