That looks good to me. I did it this way: contentHeight =
IFrameElement.as(yourFrame.getElement()).getContentDocument().getScrollHeight();
However, this will only work if the pages are in the same domain due to
security. See
http://stackoverflow.com/questions/153152/resizing-an-iframe-based-
Never done it before so maybe it doesn't work, but I would try:
yourFrame.addLoadHandler(new LoadHandler() {
public void onLoad(LoadEvent event) {
//Frame loaded. Read the content document height and resize the frame
FrameElement frameElement = yourFrame.getElement().cast();
Document
I'm building a GWT application that looks great. At the end of the page I'd
like to include a WordPress blog that I'm developing. In order to do that I
want to use a com.google.gwt.user.client.ui.Frame so that an IFrame gets
created, and the blog just gets seamlessly embedded.
I've built this