<iframe id="myIframe" width="100%" height="700px" frameborder="0" scrolling="no" onload="changeFrameHeight()"
src="$url">
</iframe>
<script type="text/javascript">
document.domain = 'me.com';
function changeFrameHeight(){
var ifm= document.getElementById("myIframe");
var bHeight = ifm.contentWindow.document.body.scrollHeight;
var dHeight = ifm.contentWindow.document.documentElement.scrollHeight;
var height = Math.max(bHeight, dHeight);
ifm.height = height;
}
</script>