View Full Version : resizable iframe on each pageload within?

09-13-2011, 07:41 PM
Another general question...

i have to nest another page within an iframe. It's a calendar system, that will have different length pages, depending on what calendar item the user opens. Is it possible/feasible to write a javascript that resizes the iframe dimensions based on the height of the nested page each time a new page loads?

09-14-2011, 11:26 PM
I might not get you right but I think you could, as long as the calendar system (iframed) is in the same domain as the iframe container. Or if you have access both to the calendar system and the iframe container, you might like to use the complicated way of "window.postmessage()" ;)