IFrame worries.
-
Greetings all. For various reasons I'm having to use an IFrame to integrate content into somebody elses CMS system and thusly design/code. This is causing me problems, because I can not get the IFrame to expand dynamically with the content it loads. This either gives double scrollbars or much extra unneeded spaces. My IFrame is located within a relative positioned DIV which has position relative on it. The IFrame then loads my page(s) and displays them. But I just can't get the IFrame to expand..... *grrr* Please help me before I go postal on the client :) --------------------------- 127.0.0.1 - Sweet 127.0.0.1
-
Greetings all. For various reasons I'm having to use an IFrame to integrate content into somebody elses CMS system and thusly design/code. This is causing me problems, because I can not get the IFrame to expand dynamically with the content it loads. This either gives double scrollbars or much extra unneeded spaces. My IFrame is located within a relative positioned DIV which has position relative on it. The IFrame then loads my page(s) and displays them. But I just can't get the IFrame to expand..... *grrr* Please help me before I go postal on the client :) --------------------------- 127.0.0.1 - Sweet 127.0.0.1
Sorry if i sound like an idiot - it's been years since I worked with an iFrame. As i recall the width and height were passed on the creation of the iFrame. Do you want the iFrame to: 1) Determine the size of the container that is holding it. 2) Use the size discovered in step 1 to resize itself to expand to fill it's container. -ward
-
Sorry if i sound like an idiot - it's been years since I worked with an iFrame. As i recall the width and height were passed on the creation of the iFrame. Do you want the iFrame to: 1) Determine the size of the container that is holding it. 2) Use the size discovered in step 1 to resize itself to expand to fill it's container. -ward
I want the IFrame to expand with the content it shows, that is the page which I pass as the source. That size I can't know, which is why I wondered if there was any possiblity of making the IFrame "relative" in size. --------------------------- 127.0.0.1 - Sweet 127.0.0.1