I am using jQuery to control the height of an iframe.
jQuery(\"iframe\",top.document).contents().height();
This works when the height of
I have successfully resize iframe's height and width when it is loaded. basically you can do this as below, and I also post a small article on my blog: http://www.the-di-lab.com/?p=280
$(".colorbox").colorbox(
{iframe:true,
innerWidth:0,
innerHeight:0,
scrolling:false,
onComplete:function(){
$.colorbox.resize(
{
innerHeight:($('iframe').offset().top + $('iframe').height()),
innerWidth:($('iframe').offset().left + $('iframe').width())
}
);
}
}
);