In an attempt not to hijack other posts I\'ve decided to start my own one. I\'ve been messing about for days and cannot figure out how to have the height of Fancybox>
I know this is an old thread, but I am positive this will help other people who land here.
Even if you don't have control over the iframe content, by leaving the fitToView parameter in its default value (true) and calling the Fancybox update() method on window resize:
$(window).resize(function() {
$.fancybox.update();
});
However, if you are displaying other content as well (such as images pdfs, etc.), Fancybox will automatically fit them to the size of the screen. In that case, you could of course initialize fancybox for iframes and images with different parameters.