iFrame content

I was looking to have the iframe content fill the content box it is pasted into. Is there a way to do this?

Site page: http://americanroofingco.net/dev/scotchgard-protector/

Hi @AmericanRoof,

Thanks for writing in.

Regretfully, not sure what you want to achieve.If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do (a link to a similar example site would be very helpful, or perhaps some screenshots), we’ll be happy to provide you with a response once we have a better understanding of the situation.

Thanks

When I paste the iframe code into the element content box, i get this result.
it is only a portion of the iframe content. If I make the height 1000px it is only a portion of the content. I would like to display all the content so there isnt a scroll bar or all the content of the iframe fills the page.

Hi there,

Yes, you’ll have to set dimension to your iframe. It’s not going to be a full-page iframe as it’s not the same as frameset. The
solution would be inter-communication between windows, like javascript from child window (iframe) get’s its height and send it to its parent window (main frame) and use its height. The problem with that is cross domain issue and it will not allow by browsers. Hence, your only option is to set its height manually.

Thanks!

Thanks, unfortunately thats what i found in my serch.

You’re welcome!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.