Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

browser inside div

I want to load an html page into the content area of the app so that I can still view my header and footer etc. If I were using ajax, i would create a div and then use ajax to load it. Is this possible in Appery?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

browser inside div

Hello Terry,

Please take a look at this link: http://devcenter.appery.io/documentat...

Regards.

Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

browser inside div

Hi Eugene,

I have tried your suggestion and it works fine for src='http://appery.io', but if you try replacing it with src='http://google.co.uk', you get an empty iframe. I also tried it with a facebook url 'https://m.facebook.com/Dougiesmeatsltd' and that doesn't work either.

I am a little confused as to why one url will work and not another?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

browser inside div

Hi Terry,

When opening page with this tag, we get the following browser console error:preRefused to display 'https://www.google.co.uk/' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'./pre
This means there is a protection from the embedding the site into other sites:
https://developer.mozilla.org/en-US/d...

Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

browser inside div

Ok, Thanks for the update, i will have to call it directly then and users will have to use the browser back button to return to the app.

Terry

Return to “Issues”