title: JavaScript Onclick window.open will not work properly in IE
body: <p>I hope my question is one that is simple to answer, but unfortunately I don't have a great knowledge of javascript. I've spend a good portion of the day Googling the issue and trying various workarounds, but nothing has worked adequately thus far. </p>
  
  <p>I am running a very simple piece of JavaScript so that when an image is clicked a separate window opens. This will work in every other browser (including mobile) except for IE. Following is what I've included in my head tag - </p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
   function open_win() {
   window.open("music/player/song-of-my-soul.html", "_blank, _top", "toolbar=no, location=no, directories=no, status=no, menubar=mo, scrollbars=yes, resizable=no, toolbar=no, copyhistory=yes, width=240, height=400,");
   }
  &lt;/script&gt;
  </code></pre>
  
  <p>I have then created a div with a background image and hover image, that when clicked should open the above page. Following is the line I have placed within the div - </p>
  
  <p>a href="#" alt="Listen to Samples" title="Listen to Samples" class="play-link" onclick="open_win()"></p>
  
  <p>This works fine in every other browser, but will not work in IE. I have tried several ways to reference the JavaScript in the head, but none of them will work. </p>
  
  <p>The page that I'm testing this on can be seen at the following - <a href="http://www.christlikemusic.com/song-of-my-soul.php#" rel="nofollow">http://www.christlikemusic.com/song-of-my-soul.php#</a>  The 'Play' button in the center towards the bottom is the image that I have linked. </p>
  
  <p>If anyone would have any ideas on how I might fix this I would be most grateful !</p>
  
  <p>David</p>