javascript - How do I resize the iframes to fit the height of the iframes' content? -


am working on igoogle-like application. content other applications (on other domains) shown using iframes.

how resize iframes fit height of iframes' content?

i've tried decipher javascript google uses it's obfuscated, , searching web has been fruitless far.

update: please note content loaded other domains, same-origin policy applies.

the solution - if iframe same domain, stretch iframe height iframe content body height.

since using iframes domain, cannot security reasons (the same-origin policy cited).

there hacky ways, not cross-browser compatibility.

** update: see if link helps in way, using jsonp:

http://www.codeproject.com/articles/42641/json-to-jsonp-bypass-same-origin-policy


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -