jQuery Mobile:打开新页面几秒后,页面重定向到上一页

时间:2014-10-28 14:43:02

标签: html jquery-mobile

当我在页面完全加载之前点击网页上的任何链接时,新页面会显示,但几秒钟后我会被重定向到上一页。我认为这是因为第一页在后台继续加载,当它完全加载时,JQM会重定向回该页面。

有没有办法阻止这种情况?

我正在使用:jQuery Mobile 1.4.4,jQuery v1.11.1,jQuery Migrate v1.2.1和多页wordpress网站。

HTML:

<p><iframe src="//www.youtube.com/embed/A9ZMkhvjssA?autoplay=1" width="1024" height="700" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p>
<div style="text-align:right;"><a id="skipContent" title="Home Page" href="http://192.168.1.62:8079/" style="color:#fff; font-weight:bold;">Skip Video &gt;&gt;</a></div>

JS

No JS Required for this as jQuery mobile automaically adds ajax based page navigation to links

0 个答案:

没有答案