Auto resize iframe from different domain?
I'd hate to say it, specially as the author of easyXDM, but http://consumer.easyxdm.net/current/example/resize_iframe.html is kinda the way to do it if you need cross-browser (and especially IE6) support. If you're fine with only supporting more modern browsers, then using postMessage directly is not that hard.