title: How does one open a documentFragment in a new tab
body: <p>What options are there for opening a document fragment in a new tab or window. Which are most browser compatible and which are most user friendly?</p>
  
  <pre><code>var frag = document.createDocumentFragment();
  var div = $("&lt;div&gt;").addClass("Printable");
  div[0].innerHTML = doc.body.innerHTML;
  frag.appendChild(div[0]);
  openIt(frag); // How to implement openIt
  </code></pre>
  
  <p>The fragment contains a reformatted subset of the page that is ready to be printed.</p>
  
  <p>Preferably I would like it to open naturally through some kind <code>&lt;link&gt;</code> or <code>&lt;a&gt;</code> and look like any other user friendly html link, rather then quietly opening up an annoying pop-up through <code>window.open</code>. </p>