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?
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
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?
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?
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...
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