title: jquery open url in popup window with height + weight and pass a param to it
body: <p>Im trying to load on the click of a div a url but in a new window with certain sizes. For example I would have</p>
  
  <pre><code>&lt;div id="mydiv&gt;
     Roy
    click on this div
  &lt;/div&gt;
  </code></pre>
  
  <p>and</p>
  
  <pre><code>&lt;div id="mydiv&gt;
     Alex
    click on this div
  &lt;/div&gt;
  </code></pre>
  
  <p>Then the idea is a new window will popup ( not a modal ) with say sizes like 300x400px.
  The username should be passed to this window and I want to be able to do something with it in my web application. Jquery just needs to call something like /chatwindow/?user=rob</p>
  
  <p>What would be a good way to approach this?</p>