title: javascript window.open doesn't work here
body: <p>I need to open this urls in a new tab. Right now they are opening in the same page.</p>
  
  <pre><code>var data = [  
      {title: "1", url: "gallery1.html"},  
      {title: "2", url: "gallery2.html"},  
      {title: "3", url: "gallery2.html"}, 
  </code></pre>
  
  <p>My knowledge in javascript is very short. I tried things like:  </p>
  
  <pre><code>&lt;script type='text/javascript'&gt;    
  window.open(url);      
  &lt;/script&gt;     
  </code></pre>
  
  <p>or  </p>
  
  <pre><code>.attr("xlink:href", function(d) { return d.example.url; }) 
  .attr("xlink:target", "_blank") 
  .attr("xlink:title", function(d) { return d.example.title; });
  </code></pre>