title: How to open a url in new window without toolbar, menubar
body: <p>here i am trying to open a URL in new window using window.open</p>
  
  <p>I have a list of anchor tags with some URL, When i click on those anchor tags the javascript should get the href="" value and pass the value to the javascript function.</p>
  
  <p>Here is code what i have done:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;/head&gt;
  &lt;script&gt;
  var a;
      function popitup(a)
      {
          window.open(a,
          'open_window',
          'menubar=no, toolbar=no, location=no, directories=no, status=no, scrollbars=no, resizable=no, dependent, width=800, height=620, left=0, top=0')
      }
  &lt;/script&gt;
  &lt;body&gt;
  &lt;form name="popup" &gt;
  &lt;a href="http://www.yahoo.com" onclick="popitup(this.value)"&gt;yahoo&lt;/a&gt;
  &lt;a href="http://www.google.com" onclick="popitup(this.value)"&gt;Google&lt;/a&gt;
  &lt;a href="http://www.msn.com" onclick="popitup(this.value)"&gt;MSN&lt;/a&gt;
  &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>When i click the yahoo, the www.yahoo.com should get opened in new window.. Similarly all</p>
  
  <p>but now when i click on those links i am getting the error "server not found" in the new window.</p>
  
  <p>How can i solve this?</p>