title: html open a url on new target and focus
body: <p>I am trying to fix a web site.</p>
  
  <p>It opens a help page in a new window/tab via <code>&lt;a href="..." target="help"&gt;</code> (no other frame has this name)</p>
  
  <p>This works well the first time opening a new window/tab, for the help.
  But on subsequent clicks the window/tab is loaded but remains hidden.</p>
  
  <p>I tried this:</p>
  
  <pre><code>&lt;script&gt;
      function OpenAndFocusHelp() {
          win=window.open('help/1000CH00017.htm','help');
          win.focus();
      }      
  &lt;/script&gt;
  
  &lt;a href="help.html" target="help" 
     onclick="OpenAndFocusHelp()"&gt;Help&lt;/a&gt;
  </code></pre>
  
  <p>It did not work!</p>