[英]How can I display an external website in my PhoneGap app including a own header/footer
The title says it all. 标题说明了一切。 My question is, how to display an external website into my webapp with a header or footer.
我的问题是,如何使用页眉或页脚将外部网站显示到我的webapp中。
I tried it with an iFrame, but there is the problem, that i can't go back in history with the backbutton for example, can I? 我使用iFrame进行了尝试,但是有一个问题,例如我无法使用后退按钮返回历史记录,可以吗?
The second idea i tried is the inAppBrowser, but there is the problem that I cannot use any Phonegap Features and include my own header. 我尝试过的第二个想法是inAppBrowser,但是存在一个问题,即我无法使用任何Phonegap功能并包含我自己的标头。
So i need something like an inAppBrowser shown in an iFrame. 因此,我需要类似iFrame中显示的inAppBrowser的内容。
I hope you can help me with this question. 希望您能帮我解决这个问题。
Sincerely 真诚的
check this out: http://www.w3schools.com/jsref/met_his_back.asp 检查一下: http : //www.w3schools.com/jsref/met_his_back.asp
if you are willing to implement a back button.. 如果您愿意实施后退按钮。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.