Page 1 of 1

IFRAME to get external page

Posted: Wed Oct 15, 2014 9:41 pm
by Alexandre

I have tried using the iframe to embed an external page in my app, but have not been successful. In all the ways you've tried the page appears, but occupies a small piece of the visible area of ​​the app.

My goal is that the page fills the space of the app, keeping the header and footer. Is that possible?


IFRAME to get external page

Posted: Thu Oct 16, 2014 3:05 am
by Yurii Orishchuk

Hi Alexandre,

Here is a solution for you:

1 Open HTML component properties.

2 Set dimensions: as "auto" and "auto". http://prntscr.com/4wlwvb/direct

3 Set for this HTML component "Class Name" property as "fullScreen" http://prntscr.com/4wlwpp/direct

4 Create new CSS. And fill it by following code:

pre

.fullScreen{
position: absolute;
left: 0px;
right: 0px;
/* you need to adjust it for header /
top: 54px;
/ you need to adjust it for footer */
bottom: 54px;
width: auto;
height: auto;
}

/pre

5 Click "Edit HTML" for this HTML component and fill it with following code: http://prntscr.com/4wlxir/direct

pre

<iframe src="http:&#47;&#47;appery&#46;io" width="100%" height="100%"</iframe

/pre

That's all.

Regards.


IFRAME to get external page

Posted: Thu Oct 16, 2014 11:25 am
by Alexandre

Thanks for the reply!

There remained only one question, the name of the CSS (item 4) can anyone?

once again thank you.


IFRAME to get external page

Posted: Thu Oct 16, 2014 11:40 am
by Kateryna Grynko

Hi Alexandre,

Please use any name that is set in step 3.


IFRAME to get external page

Posted: Mon Nov 03, 2014 6:56 pm
by Alexandre

Hi,

I followed the instructions to make a fullpage iframe, however there was a problem: the iframe appeared with two scrolls, both vertically and horizontally in the (image attached). I tried to adjust the height of the header and footer in CSS, but it did not work. What's wrong?

Thank you Image


IFRAME to get external page

Posted: Tue Nov 04, 2014 5:09 am
by Yurii Orishchuk

Hi Alexandre,

Please try this code instead of given above:

pre

&#46;fullScreen{
position: absolute;
left: 0px;
right: 0px;
/* you need to adjust it for header /
top: 54px;
/ you need to adjust it for footer */
bottom: 54px;
width: auto;
height: auto;
overflow: hidden !important;
}

/pre

If it does not solve your problem please give us your app public link and we will take a look.

Regards.