iscroll链接ajax

发布于 2024-12-17 21:21:45 字数 219 浏览 2 评论 0原文

我已经花了几个小时了,所以我希望有人能帮助我解决这个问题,而不仅仅是告诉我去谷歌搜索它。

我使用 iscroll 因为它具有固定页眉/页脚的强大功能。

我在页脚有链接。在正常的野生动物园中,一切正常。当 web 应用程序保存到主屏幕,然后启动时,单击链接后,它们会关闭 web 应用程序并启动 safari。

我尝试过 AJAX 但运气不佳。

有人可以帮忙吗?

I've been at this for a few hours so I hope someone can help me with this and not just tell me to GOOGLE it.

I'm using iscroll because of its great features of fixed header/footer.

I have links in the footer. When in normal safari, it all works fine. When the webapp is saved to the home screen, and then launched, after a link is clicked they close the webapp and launch safari.

I've tried AJAX with no good luck.

Can someone please help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

情绪 2024-12-24 21:21:45

尝试使用相对链接而不是绝对链接。

等链接,

例如,使用/link/to/pagelink/to/page

而不是

http://domainname.com/link/to/page

http://www.domainname.com/link/to/page

Try using relative links rather than absolute links.

for example use links such as

/link/to/page or link/to/page

rather than

http://domainname.com/link/to/page

or

http://www.domainname.com/link/to/page

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文