jQuery Mobile 链接到外部不同的域,然后返回到应用程序
我正在 jQuery Mobile 中为 iPhone 设计一个应用程序,并且遇到了一个问题,我需要一些帮助。在应用程序中,我有指向不同外部不同域网站的链接示例:(http://www.youtube.com, http:// /www.facebook.com)。这些网站从链接加载良好。问题是尝试返回应用程序。我见过不同的其他框架,一旦您访问链接并返回到应用程序,它们就会有后退选项。我研究了又研究,只是还没有找到我见过的解决方案。
我还尝试在应用程序中使用 iframe,这样我就可以选择返回到应用程序中的另一个页面。我似乎无法让 iframe 正常运行。理想的解决方案是能够单击链接,加载页面,它还在左上角创建一个后退按钮,单击后它会返回到应用程序。任何对此的帮助将不胜感激。谢谢,
I am designing an app in jQuery Mobile for an iPhone and have ran into an issue that I would like some help with. Within the app, I have links to different external different domain sites example: (http://www.youtube.com, http://www.facebook.com). The sites load fine from the link. The issue is trying to return back to the app. I have seen different other frameworks that will have a back option once you go the link and it returns back to the app. I have researched and researched, and just haven't found a solution that I have seen.
I have also tried using iframes within the app just so I have an option to go back to another page in the app. I cannot seem to get the iframes to function properly. The ideal solution would be to be able to click the link, the page loads, it also creates a back button in the top left hand corner and once clicked it returns back to the app. Any help with this would be greatly appreciated. Thanks,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在锚标记中,只需定义 rel 属性的值“external”即可。
In your anchor tags just define the value "external" to the rel attribute.