Anton Joubert
Posts: 0
Joined: Mon Feb 23, 2015 5:26 pm

HTML frame size

Hi I added an HTML frame to a page.
The HTML space renders a iframe of an external mobile site.

I have adjusted the size of the HTML box to fill the whole of the page .

It only shows a small box of the iframe when it renders the iframe?

What am I doing wrong. Image Image

Egor Kotov6832188
Posts: 0
Joined: Wed Nov 19, 2014 5:15 pm

HTML frame size

Anton
1) open html component
2) add height and width attributes with values in your iframe tag

Anton Joubert
Posts: 0
Joined: Mon Feb 23, 2015 5:26 pm

HTML frame size

Hi Egor

Is this what you mean?

$("#accommodation").css("height", "100%");
window.open("http://www.paonline.biz/accommodation...", "iframeName");
Image

regards

Anton Joubert
Posts: 0
Joined: Mon Feb 23, 2015 5:26 pm

HTML frame size

I have done this now ... The border is gone but the size still small

Image

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

HTML frame size

Hi Anton,

You need to set Html component dimensions as "auto" and "auto".

Details: http://prntscr.com/6fotkc/direct

Regards.

Return to “Issues”