title: How can I cause a link to open in a new small window?
body: <p>I have images on a webpage that I want to have linked to another website, but in a new window of a certain size. In Dreamweaver, I used Window > Behaviors > onMouseClick, but for some reason, that isn't working. The image isn't recognized as a link.</p>
  
  <p>Is there any other way I can have it open a link in a new window of a set size, and actually have it work this time?</p>
  
  <p>Here is the code produced by Dreamweaver:</p>
  
  <pre><code>&lt;script language="JavaScript"&gt;
  &lt;!--
  
  function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
  }
  //--&gt;
  &lt;/script&gt;
  </code></pre>
  
  <p>The link:</p>
  
  <pre><code>&lt;img src="images/portfolio/featured1.jpg" alt="Google" width="241"     height="200" border="0" onclick="MM_openBrWindow('http://www.google.com','google','scrollbars=yes,width=650,height=500')" /&gt;
  </code></pre>