Page 1 of 3

Problem HTML component and layout of wrapped webpage

Posted: Mon May 19, 2014 10:27 pm
by Paul de vos

Hello, i'm trying to wrap an external website to the container frame using the html component.
I followed the this tutorial:
http://docs.appery.io/documentation/u...

It doesn't seem to work. Don't know what i'm missing.
I've tested in browser and phone tester. It overlaps in the browser and ads a frame in the phone tester but with no scroll functionality or wrapped layout.


Problem HTML component and layout of wrapped webpage

Posted: Mon May 19, 2014 10:40 pm
by Yurii Orishchuk

Hi Paul.

Please provide us with screen shots of problem and describe them.

Specify please if this issue reproduces in the "test" mode in browser. See details: http://prntscr.com/3krt3i/direct

Also give us a public link to your app and describe steps to reproduce your problem.

Thanks & Regards.


Problem HTML component and layout of wrapped webpage

Posted: Wed May 21, 2014 9:58 pm
by Paul de vos

Thanks for the support Yurii.

The issue reproduces the same problem in both "test" mode in browser,and test iphone appery.io app.
Image

As I mentioned, I followed this tutorial about Wrapping external document (http://devcenter.appery.io/documentat...)

The app has one screen(strartScreen), with the html component.

What I want is for a website to fit (integrated, optimised, scaled to) in the borders of the screen behind header and footer. But instead what happens is the website appears in a iframe (not a problem), one has to scroll horizontal and vertical so see other parts of the website.

How can i share the app with you, should i export an apk and upload?


Problem HTML component and layout of wrapped webpage

Posted: Wed May 21, 2014 11:11 pm
by Yurii Orishchuk

Hi Paul.

Yes you can share you APP with our account: a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a

Please see how to do it in this document: http://devcenter.appery.io/documentat...

Regards.


Problem HTML component and layout of wrapped webpage

Posted: Thu May 22, 2014 6:18 am
by Evgene Karachevtsev

Hello Paul,

Little update: when it will be done, please post app name, steps to reproduce, also clarify what device/OS version you use.


Problem HTML component and layout of wrapped webpage

Posted: Thu May 22, 2014 9:47 pm
by Paul de vos

Thanks, I shared project with support.
App name: Console Games
Ive got a start screen with two buttons, each linking to a new screen with a html component that displays a website.
What i'm experiencing problems with is the the way the website is displayed.

I followed and reproduced these steps excactly:

Image

Browser test:

Image

Android tablet test:
Displays correctly except when I switch orientation (turn device) and back again produces results that only fills half the screen
Image
Image


Problem HTML component and layout of wrapped webpage

Posted: Thu May 22, 2014 10:04 pm
by Paul de vos

Here is a view from ios7
Results display a zoomed area of the website, and no scrolling functionality.

Image


Problem HTML component and layout of wrapped webpage

Posted: Fri May 23, 2014 8:20 am
by Evgene Karachevtsev

Hello Paul,

Tell me please do you still get this problem? I've just tested your project in the Chrome browser. It works properly. Here are screenshots:
Image
Image


Problem HTML component and layout of wrapped webpage

Posted: Fri May 23, 2014 3:47 pm
by Paul de vos

Hi Evgene,

I still have the problem, and the screenshots you posted is the same problem I'm experiencing.
I want the website to fill the screen (container), not half with scrolling bars.
Please see below screenshot from your tutorial on wrapping webpages:
Image


Problem HTML component and layout of wrapped webpage

Posted: Fri May 23, 2014 7:15 pm
by Kateryna Grynko

Hi Paul,

Set size of component html=auto as is shown here:
http://devcenter.appery.io/wp-content...

Use the following CSS: precodediv div.htmlOtherSite{
position: absolute;
left: 0px;
right: 0px;
top: 54px;
bottom: 54px;
overflow: visible;
height:100vh;
}

#ScreenName{
overflow: hidden;
}/code/preWhere 'ScreenName' is a page name.