title: Add target=“_top” to ink that is inside the fancybox iframe
body: <p>I have a page setup that is accessed through a fancybox iframe. How can a link that is inside the fancybox iframe, load in the parent window of the iframe? So if the user clicks the link, it will reload the page and load the clicked link. How do I add a target="_top" attribute to the all links?</p>
  
  <p>e.g. </p>
  
  <pre><code>$("iframe").on("load", function () {
      $("a").each(function() {
        $(this).attr('target', '_top');
     });
  }) 
  </code></pre>