title: Open browser windows without menu bars (JavaScript?)
body: <p>The users in my community want the chat to be opened in a small window without all the control bars.</p>
  
  <p>So I think a popup window without scroll bars, location bar, status bar and so on would be the best solution. Right?</p>
  
  <p>What is the best way to have such a popup window? JavaScript? Can I do it like this?</p>
  
  <p>BETWEEN  AND </p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  &lt;!--
  var win = NULL;
  onerror = stopError;
  function stopError(){
      return true;
  }
  function openChat(){
      settings = "width=640, height=480, top=20, left=20, scrollbars=no, location=no, directories=no, status=no, menubar=no, toolbar=no, resizable=no, dependent=no";
      win = window.open('http://www.example.org/chat.html', 'Chat', settings);
      win.focus();
  }
  // --&gt;
  &lt;/script&gt;
  </code></pre>
  
  <p>BETWEEN  AND </p>
  
  <pre><code>&lt;a href="#" onclick="openChat(); return false"&gt;Open chat&lt;/a&gt;
  </code></pre>
  
  <p>ON CHAT.HTML</p>
  
  <pre><code>&lt;form&gt;&lt;input type="submit" value="Close chat" onClick="window.close()"&gt;&lt;/form&gt;
  </code></pre>