html - jQuery Mobile: Page redirecting to Previous Page after a few seconds of opening the new page -


When I click any link on a web page before the page is fully loaded, a new page appears But after a few seconds I am redirected to the previous page. I think this is because the first page is loading in the background and when it is fully loaded, the JQM redirects back to that page.

Is there any way to stop this?

Using: jQuery Mobile 1.4.4, jQuery v1.11.1, jQuery Migrate v1.2.1 and Multi Page WordPress Website.

HTML:

  & lt; P & gt; & Lt; Iframe Src = "// www.youtube.com/embed/A9ZMkhvjssA?autoplay=1" width = "1024" height = "700" frameborder = "0" allowed screen = "acceptable liquid" & gt; & Lt; / Iframe & gt; & Lt; / P & gt; & Lt; Div style = "text-align: right;" Gt; & Lt; An id = "skipContent" title = "home page" href = "http://192.168.1.62:8079/" style = "color: #fff; font-weight: bold;" & gt; Skip video & gt; And & gt; & Lt; / A & gt; & Lt; / Div & gt;  

JS

  No JS is required for this as jQuery Automatically adds Ajax based page navigation to the link  


Comments

Popular posts from this blog

mysql - How to enter php data into a html multiple select box -

java - Can't add JTree to JPanel of a JInternalFrame -

c++ - Cassandra datastax cpp driver - avoiding unnecessary copies -