Is this even possible? I've been looking at applications that resize the canvas dynamically according to the height of the document in the iframe.
if ($(document).height() > 700) {
gadgets.window.adjustHeight(1400);
}
However this is clearly using opensocial, and gadgets isn't available to me in the canvas. I am pretty new to a Javascript and I don't necessarily understand where the javascript scope extends to ie. do the parent and iframe contents sit in the same scope so it opensocial is included in the top window is it available to the canvas too? or is that rubbish.
Is there a solution for those of us using iFrames to external sites?
Many thanks
RobL