<script type="text/javascript"> var method = window.addEventListener ? "addEventListener" : "attachEvent"; var event = window.addEventListener ? "message" : "onmessage"; window[method](event, function(e) { if("review_iframe_height" in e.data) { document.getElementById("myFrame").height = e.data.review_iframe_height + "px"; } }, false); </script> <iframe width="100%" frameborder="0" scrolling="no" id="myFrame" src="http://login.testimonialagent.com/my-review/index/uid/0286f942cc425005dc601dc34e9a8488"></iframe>