What parameter to use for Fancybox so IFRAME opens in an autosized window?
<p>As the title says really. I'm using Fancybox, the popular jQuery lightbox script on my site.</p>

<p>I've set a hyperlink which pops open the lightbox using an IFRAME of the requested page.</p>

<p>This works fine, however...</p>

<p>The lightbox is too big, I'd like it to auto size to the content. On the documentation at <a href="http://fancyapps.com/fancybox/#docs" rel="nofollow">http://fancyapps.com/fancybox/#docs</a> you can see in the table there's an autosize parameter.</p>

<p>Is this it, can someone who knows jQuery please help show me how this appears in my configuration of the script?</p>

<p>Here's my current configuration:-</p>

<pre><code>$(document).ready(function() {
    $(".fancybox").fancybox({
 type: 'iframe',
 nextClick: false
     });
});
</code></pre>
