jqtouch 和重定向

发布于 2024-09-10 18:05:21 字数 256 浏览 1 评论 0原文

我正在使用 JQTouch,并且尝试将新页面加载到当前页面中。不幸的是,JQTouch 会自动在 url 中添加“#”,从而导致该 url 无法打开。

换句话说,

<li class="arrow"><a href="categories.html">Categories</a></li>

行不通。

请问有什么建议吗?

谢谢, C.

I am using JQTouch and I am trying to load a new page into the current page. Unfortunately JQTouch automatically adds a '#' to the url and thus the url cannot be opened.

in order words,

<li class="arrow"><a href="categories.html">Categories</a></li>

would not work.

Any suggestions please?

Thanks,
C.

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

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

发布评论

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

评论(1

︶ ̄淡然 2024-09-17 18:05:21

要链接到 jqtouch 中的外部 url,您必须使用 target="_webapp"。即,将您的 html 更改为:

<li class="arrow"><a href="categories.html" target="_webapp">Categories</a></li>

To link to external url's in jqtouch you have to use the target="_webapp". I.e. change your html to:

<li class="arrow"><a href="categories.html" target="_webapp">Categories</a></li>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文