title: Need help with my close link in fancybox modal window to close it
body: <p>I want to provide a link to close the fancybox pop-up window.</p>
  
  <p>Here is what I have for code, which does not work, but gives you an idea of what I am accomplishing:</p>
  
  <pre><code>$(document).ready(function() {
      $('#close-button').click(function(){
        close.click($.fancybox.close);
      });
    });
  
  &lt;p&gt;&lt;a href="#" title="Close" id="close-button"&gt;&amp;laquo; close&lt;/a&gt;&lt;/p&gt;
  </code></pre>
  
  <p>I am including the fancybox and appropriate jQuery files.</p>
  
  <p>Any help is appreciated.</p>
  
  <p>Fix is:</p>
  
  <p>adding 'type': 'iframe' to it</p>
  
  <pre><code>$(".pop-out").fancybox({
    'titlePosition' : 'outside',
    'transitionIn'      : 'fade',
    'transitionOut' : 'none',
    'type'          : 'iframe'
  });
  </code></pre>