title: jQuery open link in new window with small dimensions (NOT TAB)
body: <p>I need to open certain links in a new window (NOT TAB) with certain dimensions.</p>
  
  <p>This will open a link in new tab:</p>
  
  <pre><code>$(document).ready(function() {
      $('a[rel|=external]').click(function(){
          window.open(this.href);
          return false;
      });
  });
  </code></pre>
  
  <p>What to change in order to get links opening in new windows.?</p>
  
  <p>EDIT: This is my entire javascript file:</p>
  
  <pre><code>$(document).ready(function() {
      $('a[rel=external]').click(function(){
          window.open(this.href);
          return false;
      });
      $('a[rel=external-new-window]').click(function(){
          window.open(this.href, "myWindowName", "width=800, height=600");
          return false;
      });
  });
  </code></pre>
  
  <p>HTML:</p>
  
  <pre><code>&lt;a href="/clientarea/utils/law/id/2832" rel="external-new-window" class="accessible-link"&gt;§5, odsek 2&lt;/a&gt;
  </code></pre>